Ejemplo n.º 1
0
        public ISchemaElementBuilder CreateElement(XName name, string description, Action <ISchemaElement> configurator = null)
        {
            var child = new SchemaElement(_schemaElement.Schema, name, description, _schemaElement);

            configurator?.Invoke(child);
            _schemaElement.AddChildElement(child);

            return(new SchemaElementBuilder(child));
        }