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); }
public static IHtmlSite Create(HtmlSiteProperties siteProperties) => new _HtmlSite(siteProperties, null);