public RunFragment(string text, TextFragmentType fragmentType) : base(text) { this.TextFragmentType = fragmentType; }
public TextFragment(string value, TextFragmentType fragmentType) { Value = value ?? ""; // ?? throw new ArgumentNullException("Cannot assign Null to TextFragment"); ; FragmentType = fragmentType; }