private static bool IsSchemaElementType(Type elementType, SchemaElementType schemaElementType) { return(SchemaGenerators .Where(x => x.SchemaElementType == schemaElementType) .Any(x => x.CanGenerate(elementType))); }
public Schema() { _attributeType = new List<SchemaAttributeType>(); _elementType = new SchemaElementType(); }