コード例 #1
0
        public static IDisposable scope(this IXhtmlAnchorSite site, IContentModel element)
        {
            var nodeWriter = new XhtmlNodeWriter();

            nodeWriter.WriteStartTag(site.Xhtml.AmbientWriter, element);
            return(new NodeWriterTerminator(nodeWriter, site.Xhtml.AmbientWriter, element));
        }