Пример #1
0
        private _HtmlText(HtmlTextProperties textProperties, _HtmlText cloneFrom)
        {
            Must.Assertion
            .AssertArgumentNotNull(textProperties, nameof(textProperties));

            _TextProperties = textProperties;
            _Annotations    = new _HtmlAnnotationCollection(ChildrensProof, this, cloneFrom?._Annotations);
        }
Пример #2
0
 public static IHtmlText Create(HtmlTextProperties textProperties) => new _HtmlText(textProperties, null);