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