System.Xml.Serialization.SoapSchemaImporter.ImportType C# (CSharp) Method

ImportType() private method

private ImportType ( XmlSchemaComplexType type, string typeNs, bool excludeFromImport ) : TypeMapping
type System.Xml.Schema.XmlSchemaComplexType
typeNs string
excludeFromImport bool
return TypeMapping
        TypeMapping ImportType(XmlSchemaComplexType type, string typeNs, bool excludeFromImport) {
            if (type.Redefined != null) {
                // we do not support redefine in the current version
                throw new NotSupportedException(Res.GetString(Res.XmlUnsupportedRedefine, type.Name, typeNs));
            }
            TypeMapping mapping = ImportAnyType(type, typeNs);
            if (mapping == null)                     
               mapping = ImportArrayMapping(type, typeNs);
            if (mapping == null)
                mapping = ImportStructType(type, typeNs, excludeFromImport);
            return mapping;
        }
        TypeMapping ImportAnyType(XmlSchemaComplexType type, string typeNs){

Same methods

SoapSchemaImporter::ImportType ( XmlQualifiedName name, bool excludeFromImport ) : TypeMapping