Exemplo n.º 1
0
        public IElementSchema CreateElementSchema(string schemaId)
        {
            Guard.NotNullOrEmpty(() => schemaId, schemaId);

            var schema = new ElementSchema(schemaId);
            components.Add(schema);
            return schema;
        }
Exemplo n.º 2
0
 public IElementSchema CreateItemSchema(string schemaId)
 {
     return (itemSchema = new ElementSchema(schemaId));
 }