public static RunFragment Create(TextFragment fragment) { return(new RunFragment(fragment.Value, fragment.FragmentType)); }
public void AddHighlight(string text) { Add(TextFragment.Highlight(text)); }
public void AddPrimary(string text) { Add(TextFragment.Primary(text)); }
public void AddSecondary(string text) { Add(TextFragment.Secondary(text)); }
public TextFragments(TextFragment fragment) : this() { _fragments.Add(fragment); }