Create(IEnumerable<string>)
static
public static JournalId Create(IEnumerable<string> segments) Creates a journal id from decoded hierarchical segments.
Parameters
segmentsIEnumerable<string>- The id segments.
Returns
The normalized journal id.
public static JournalId Create(IEnumerable<string> segments)segmentsIEnumerable<string>public static JournalId Create(ReadOnlySpan<string> segments)segmentsReadOnlySpan<string>public static JournalId Create(string firstSegment, params ReadOnlySpan<string> additionalSegments)firstSegmentstringadditionalSegmentsReadOnlySpan<string>public bool Equals(JournalId other)otherJournalIdtrue if the current object is equal to the other parameter; otherwise, false.public override bool Equals(object? obj)objobject?true if obj and this instance are the same type and represent the same value; otherwise, false.public static JournalId FromGrainId(GrainId grainId)grainIdGrainIdpublic override int GetHashCode()public bool IsPrefixOf(JournalId journalId)journalId. journalIdJournalIdtrue if this id is the default value, equals journalId, or identifies an ancestor segment.public override string ToString()public static bool operator ==(JournalId left, JournalId right)leftJournalIdrightJournalIdtrue if the journal ids are equal; otherwise, false.public static bool operator !=(JournalId left, JournalId right)leftJournalIdrightJournalIdtrue if the journal ids are not equal; otherwise, false.