Beispiel #1
0
        private _HtmlComment(HtmlCommentProperties commentProperties, _HtmlComment cloneFrom)
        {
            Must.Assertion
            .AssertArgumentNotNull(commentProperties, nameof(commentProperties));

            _CommentProperties = commentProperties;
            _Annotations       = new _HtmlAnnotationCollection(ChildrensProof, this, cloneFrom?._Annotations);
        }
Beispiel #2
0
 public static IHtmlComment Create(HtmlCommentProperties commentProperties) => new _HtmlComment(commentProperties, null);