static private DeriveByUnion ( |
||
types | ||
schemaType | ||
return |
internal new static DatatypeImplementation DeriveByUnion(XmlSchemaSimpleType[] types, XmlSchemaType schemaType)
{
DatatypeImplementation dt = new Datatype_union(types);
dt._baseType = s_anySimpleType; //Base type of a union is anySimpleType
dt._variety = XmlSchemaDatatypeVariety.Union;
dt._parentSchemaType = schemaType;
return dt;
}
internal static XmlSchemaDatatype DeriveByUnion(XmlSchemaSimpleType[] types, XmlSchemaType schemaType) { return(DatatypeImplementation.DeriveByUnion(types, schemaType)); }