static private AddDefaultXmlType ( |
||
schemas | ||
localName | string | |
ns | string | |
return | void |
public static void AddDefaultSchema(XmlSchemaSet schemas, XmlQualifiedName typeQName) { ArgumentNullException.ThrowIfNull(schemas); ArgumentNullException.ThrowIfNull(typeQName); SchemaExporter.AddDefaultXmlType(schemas, typeQName.Name, typeQName.Namespace); }
public static void AddDefaultSchema(XmlSchemaSet schemas, XmlQualifiedName typeQName) { if (schemas == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("schemas"); } if (typeQName == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("typeQName"); } SchemaExporter.AddDefaultXmlType(schemas, typeQName.Name, typeQName.Namespace); }
public static void AddDefaultSchema(XmlSchemaSet schemas, XmlQualifiedName typeQName) { if (schemas == null) { throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(schemas)); } if (typeQName == null) { throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(typeQName)); } SchemaExporter.AddDefaultXmlType(schemas, typeQName.Name, typeQName.Namespace); }