public LabelString(ILabelString text) { Text = text ?? throw new ArgumentNullException(nameof(text)); }
public LabelString(string text) { Text = new EscapedString(text); }
public bool Equals([AllowNull] ILabelString other) { return(other is EscapedString esc?Equals(esc) : false); }