private _HtmlText(HtmlTextProperties textProperties, _HtmlText cloneFrom) { Must.Assertion .AssertArgumentNotNull(textProperties, nameof(textProperties)); _TextProperties = textProperties; _Annotations = new _HtmlAnnotationCollection(ChildrensProof, this, cloneFrom?._Annotations); }
private _HtmlComment(HtmlCommentProperties commentProperties, _HtmlComment cloneFrom) { Must.Assertion .AssertArgumentNotNull(commentProperties, nameof(commentProperties)); _CommentProperties = commentProperties; _Annotations = new _HtmlAnnotationCollection(ChildrensProof, this, cloneFrom?._Annotations); }
private _HtmlRaw(HtmlRawProperties rawProperties, _HtmlRaw cloneFrom) { Must.Assertion .AssertArgumentNotNull(rawProperties, nameof(rawProperties)); _RawProperties = rawProperties; _Annotations = new _HtmlAnnotationCollection(ChildrensProof, this, cloneFrom?._Annotations); }
protected _HtmlResourceNodeBase(TResourceProperties resourceProperties, _HtmlResourceNodeBase <TResourceNode, TResourceProperties> cloneFrom) { Must.Assertion .AssertArgumentNotNull(resourceProperties, nameof(resourceProperties)); ResourceProperties = resourceProperties; _Annotations = new _HtmlAnnotationCollection(ChildrensProof, this, cloneFrom?._Annotations); }
private _HtmlElement(HtmlElementProperties elementProperties, _HtmlElement cloneFrom) { Must.Assertion .AssertArgumentNotNull(elementProperties, nameof(elementProperties)); _ElementProperties = elementProperties; _Annotations = new _HtmlAnnotationCollection(ChildrensProof, this, cloneFrom?._Annotations); _Attributes = new _HtmlAttributeCollection(ChildrensProof, this, cloneFrom?._Attributes); }
private _HtmlSite(HtmlSiteProperties siteProperties, _HtmlSite cloneFrom) { Must.Assertion .AssertArgumentNotNull(siteProperties, nameof(siteProperties)); _SiteProperties = siteProperties; _Annotations = new _HtmlAnnotationCollection(ChildrensProof, this, cloneFrom?._Annotations); _Resources = new _HtmlResourceNodeCollection(ChildrensProof, this, cloneFrom?._Resources); }
private _HtmlAttribute(HtmlAttributeProperties attributeProperties, _HtmlAttribute cloneFrom) { Must.Assertion .AssertArgumentNotNull(attributeProperties, nameof(attributeProperties)); _AttributeProperties = attributeProperties; _Annotations = new _HtmlAnnotationCollection(ChildrensProof, this, cloneFrom?._Annotations); _HtmlDeferredData <string> .Create(_ref => Data = _ref); Data.Final = cloneFrom?.Data.Final; }
public _HtmlAnnotationCollection(object proof, IHtmlAnnotableNode owner, _HtmlAnnotationCollection cloneFrom) : base(proof, owner, cloneFrom) { }