Beispiel #1
0
        private XmlBuilder CreateBuilder(XmlNode node, Action <XmlBuilder> action)
        {
            var builder = new XmlBuilder(xmlDocument, node, namespaces, defaultPrefix);

            action?.Invoke(builder);
            return(builder);
        }
Beispiel #2
0
        public XmlBuilder WithNamespace(string prefix, Action <XmlBuilder> action)
        {
            var builder = new XmlBuilder(xmlDocument, xmlNode, namespaces, prefix);

            action.Invoke(builder);
            return(builder);
        }