예제 #1
0
        public static IModelNode MergeWith(this IModelNode node, string xml)
        {
            var modelXmlReader       = new ModelXmlReader();
            var modelApplicationBase = node.Application.NewModelApplication();

            modelXmlReader.ReadFromString(modelApplicationBase, "", xml);
            node.MergeWith(modelApplicationBase);
            return(node);
        }