Exemple #1
0
        private _HtmlRaw(HtmlRawProperties rawProperties, _HtmlRaw cloneFrom)
        {
            Must.Assertion
            .AssertArgumentNotNull(rawProperties, nameof(rawProperties));

            _RawProperties = rawProperties;
            _Annotations   = new _HtmlAnnotationCollection(ChildrensProof, this, cloneFrom?._Annotations);
        }
Exemple #2
0
 public static IHtmlRaw Create(HtmlRawProperties rawProperties) => new _HtmlRaw(rawProperties, null);