Skip to content

LogDraftId Methods

Identifies a draft of an Orleans.Durable.Journaling.IDurableLog.

ToString

override
View source
public override string ToString()
Formats the identifier as {InstanceId:N}.{Number}.

Returns

The formatted identifier.

TryParse(ReadOnlySpan<char>, LogDraftId)

static
View source
public static bool TryParse(ReadOnlySpan<char> value, out LogDraftId result)
Parses an identifier formatted by LogDraftId.

Parameters

valueReadOnlySpan<char>
The formatted identifier.
resultLogDraftId
The parsed identifier.

Returns

true if value is a valid identifier; otherwise, false.