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