Table of Contents

Struct LrcWord

Namespace
ModernLrc.Model
Assembly
ModernLrc.dll

One word in an Enhanced LRC line. Text includes any trailing whitespace up to the next < marker or line end so that string.Concat(words.Select(w => w.Text)) reproduces the line text exactly.

public readonly record struct LrcWord : IEquatable<LrcWord>
Implements
Inherited Members

Constructors

LrcWord(LrcTimestamp, string)

One word in an Enhanced LRC line. Text includes any trailing whitespace up to the next < marker or line end so that string.Concat(words.Select(w => w.Text)) reproduces the line text exactly.

public LrcWord(LrcTimestamp Timestamp, string Text)

Parameters

Timestamp LrcTimestamp

Word-onset time.

Text string

Verbatim text including trailing whitespace.

Properties

Text

Verbatim text including trailing whitespace.

public string Text { get; init; }

Property Value

string

Timestamp

Word-onset time.

public LrcTimestamp Timestamp { get; init; }

Property Value

LrcTimestamp