Skip to content

JournalId.Create(string, ReadOnlySpan<string>)

Create(string, ReadOnlySpan<string>)

static
View source
public static JournalId Create(string firstSegment, params ReadOnlySpan<string> additionalSegments)
Creates a journal id from decoded hierarchical segments.

Parameters

firstSegmentstring
The first id segment.
additionalSegmentsReadOnlySpan<string>
Additional id segments.

Returns

The normalized journal id.