11 instantiations of ImportContext
System.ServiceModel (2)
System\ServiceModel\Description\MessageContractImporter.cs (2)
1952xmlImporter = new XmlSchemaImporter(literalSchemas, webReferenceOptions.CodeGenerationOptions, options.CodeProvider, new ImportContext(codeIdentifiers, false)); 1965soapImporter = new SoapSchemaImporter(encodedSchemas, webReferenceOptions.CodeGenerationOptions, options.CodeProvider, new ImportContext(codeIdentifiers, false));
System.Web.Services (2)
System\Web\Services\Description\ServiceDescriptionImporter.cs (2)
247return Import(codeNamespace, new ImportContext(new CodeIdentifiers(), false), new Hashtable(), new StringCollection()); 303namespaces[ns.Name] = new ImportContext(new CodeIdentifiers(), true);
System.Xml (7)
System\Xml\Serialization\SchemaImporter.cs (1)
69context = new ImportContext();
System\Xml\Serialization\SoapSchemaImporter.cs (3)
30public SoapSchemaImporter(XmlSchemas schemas) : base(schemas, CodeGenerationOptions.GenerateProperties, null, new ImportContext()) {} 36public SoapSchemaImporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers) : base(schemas, CodeGenerationOptions.GenerateProperties, null, new ImportContext(typeIdentifiers, false)) {} 42public SoapSchemaImporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers, CodeGenerationOptions options) : base(schemas, options, null, new ImportContext(typeIdentifiers, false)) {}
System\Xml\Serialization\XmlSchemaImporter.cs (3)
39public XmlSchemaImporter(XmlSchemas schemas) : base(schemas, CodeGenerationOptions.GenerateProperties, null, new ImportContext()) {} 45public XmlSchemaImporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers) : base(schemas, CodeGenerationOptions.GenerateProperties, null, new ImportContext(typeIdentifiers, false)) {} 51public XmlSchemaImporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers, CodeGenerationOptions options) : base(schemas, options, null, new ImportContext(typeIdentifiers, false)) {}
15 references to ImportContext
System.Web.Services (8)
System\Web\Services\Description\ProtocolImporter.cs (3)
45ImportContext importContext; 226internal ImportContext ImportContext { 251internal bool GenerateCode(CodeNamespace codeNamespace, ImportContext importContext, Hashtable exportContext) {
System\Web\Services\Description\ServiceDescriptionImporter.cs (5)
281ImportContext context = Context(webReference.ProxyCode, namespaces, options.Verbose); 292foreach (ImportContext context in namespaces.Values) { 301internal static ImportContext Context(CodeNamespace ns, Hashtable namespaces, bool verbose) { 305return (ImportContext)namespaces[ns.Name]; 409private ServiceDescriptionImportWarnings Import(CodeNamespace codeNamespace, ImportContext importContext, Hashtable exportContext, StringCollection warnings) {
System.Xml (7)
System\Xml\Serialization\SchemaImporter.cs (3)
38ImportContext context; 44internal SchemaImporter(XmlSchemas schemas, CodeGenerationOptions options, CodeDomProvider codeProvider, ImportContext context) { 66internal ImportContext Context {
System\Xml\Serialization\SoapSchemaImporter.cs (2)
48public SoapSchemaImporter(XmlSchemas schemas, CodeGenerationOptions options, ImportContext context) : base(schemas, options, null, context){} 54public SoapSchemaImporter(XmlSchemas schemas, CodeGenerationOptions options, CodeDomProvider codeProvider, ImportContext context) : base(schemas, options, codeProvider, context){}
System\Xml\Serialization\XmlSchemaImporter.cs (2)
57public XmlSchemaImporter(XmlSchemas schemas, CodeGenerationOptions options, ImportContext context) : base(schemas, options, null, context){} 63public XmlSchemaImporter(XmlSchemas schemas, CodeGenerationOptions options, CodeDomProvider codeProvider, ImportContext context) : base(schemas, options, codeProvider, context){