49 references to ServiceImporter
System.Web.Services (49)
System\Web\Services\Description\HttpProtocolImporter.cs (6)
171
bool oldAsync = (
ServiceImporter
.CodeGenerationOptions & CodeGenerationOptions.GenerateOldAsync) != 0;
172
bool newAsync = (
ServiceImporter
.CodeGenerationOptions & CodeGenerationOptions.GenerateNewAsync) != 0 &&
173
ServiceImporter
.CodeGenerator.Supports(GeneratorSupport.DeclareEvents) &&
174
ServiceImporter
.CodeGenerator.Supports(GeneratorSupport.DeclareDelegates);
272
ServiceImporter
.CodeGenerator.Supports(GeneratorSupport.PartialTypes)));
357
ServiceImporter
.CodeGenerator.Supports(GeneratorSupport.PartialTypes));
System\Web\Services\Description\MimeTextImporter.cs (2)
47
GenerateCode((MimeTextReturn)importedReturns[i], ImportContext.
ServiceImporter
.CodeGenerationOptions);
59
ImportContext.
ServiceImporter
.CodeGenerator.Supports(GeneratorSupport.PartialTypes));
System\Web\Services\Description\MimeXmlImporter.cs (6)
75
importer = new XmlSchemaImporter(ImportContext.ConcreteSchemas, ImportContext.
ServiceImporter
.CodeGenerationOptions, ImportContext.
ServiceImporter
.CodeGenerator, ImportContext.ImportContext);
76
foreach (Type extensionType in ImportContext.
ServiceImporter
.Extensions) {
89
exporter = new XmlCodeExporter(ImportContext.CodeNamespace, ImportContext.
ServiceImporter
.CodeCompileUnit,
90
ImportContext.
ServiceImporter
.CodeGenerator, ImportContext.
ServiceImporter
.CodeGenerationOptions, ImportContext.ExportContext);
System\Web\Services\Description\ProtocolImporter.cs (3)
428
bool newAsync = (
ServiceImporter
.CodeGenerationOptions & CodeGenerationOptions.GenerateNewAsync) != 0 &&
429
ServiceImporter
.CodeGenerator.Supports(GeneratorSupport.DeclareEvents) &&
430
ServiceImporter
.CodeGenerator.Supports(GeneratorSupport.DeclareDelegates);
System\Web\Services\Description\SoapProtocolImporter.cs (32)
336
soapImporter = new SoapSchemaImporter(AbstractSchemas,
ServiceImporter
.CodeGenerationOptions, ImportContext);
337
xmlImporter = new XmlSchemaImporter(ConcreteSchemas,
ServiceImporter
.CodeGenerationOptions,
ServiceImporter
.CodeGenerator, ImportContext);
338
foreach (Type extensionType in
ServiceImporter
.Extensions) {
345
xmlExporter = new XmlCodeExporter(this.CodeNamespace,
ServiceImporter
.CodeCompileUnit,
ServiceImporter
.CodeGenerator,
ServiceImporter
.CodeGenerationOptions, ExportContext);
346
soapExporter = new SoapCodeExporter(this.CodeNamespace, null,
ServiceImporter
.CodeGenerator,
ServiceImporter
.CodeGenerationOptions, ExportContext);
440
ServiceImporter
.CodeGenerator.Supports(GeneratorSupport.PartialTypes));
594
WebCodeGenerator.AddMember(CodeTypeDeclaration, mapping.TypeFullName, globalHeader.fieldName, null, null, CodeFlags.IsPublic,
ServiceImporter
.CodeGenerationOptions);
735
if ((param.IsOut || param.IsByRef) && !
ServiceImporter
.CodeGenerator.Supports(GeneratorSupport.ReferenceParameters)) {
736
UnsupportedOperationWarning(Res.GetString(Res.CodeGenSupportReferenceParameters,
ServiceImporter
.CodeGenerator.GetType().Name));
796
if (paramsMetadata[j].Count > 0 && !
ServiceImporter
.CodeGenerator.Supports(GeneratorSupport.ParameterAttributes)) {
797
UnsupportedOperationWarning(Res.GetString(Res.CodeGenSupportParameterAttributes,
ServiceImporter
.CodeGenerator.GetType().Name));
804
string[] parameterTypes = SoapParameter.GetTypeFullNames(parameters.Parameters, parameters.CheckSpecifiedCount,
ServiceImporter
.CodeGenerator);
805
string returnType = parameters.Return == null ? typeof(void).FullName : WebCodeGenerator.FullTypeName(parameters.Return,
ServiceImporter
.CodeGenerator);
824
if (mainCodeMethod.ReturnTypeCustomAttributes.Count != 0 && !
ServiceImporter
.CodeGenerator.Supports(GeneratorSupport.ReturnTypeAttributes)) {
825
UnsupportedOperationWarning(Res.GetString(Res.CodeGenSupportReturnTypeAttributes,
ServiceImporter
.CodeGenerator.GetType().Name));
833
bool oldAsync = (
ServiceImporter
.CodeGenerationOptions & CodeGenerationOptions.GenerateOldAsync) != 0;
834
bool newAsync = (
ServiceImporter
.CodeGenerationOptions & CodeGenerationOptions.GenerateNewAsync) != 0 &&
835
ServiceImporter
.CodeGenerator.Supports(GeneratorSupport.DeclareEvents) &&
836
ServiceImporter
.CodeGenerator.Supports(GeneratorSupport.DeclareDelegates);
846
SoapParameter.GetTypeFullNames(parameters.InParameters, asyncParameterTypes, 0, parameters.InCheckSpecifiedCount,
ServiceImporter
.CodeGenerator);
877
SoapParameter.GetTypeFullNames(parameters.OutParameters, asyncReturnTypes, 1, parameters.OutCheckSpecifiedCount,
ServiceImporter
.CodeGenerator);
892
parameters.Return == null ? typeof(void).FullName : WebCodeGenerator.FullTypeName(parameters.Return,
ServiceImporter
.CodeGenerator),
928
SoapParameter.GetTypeFullNames(parameters.InParameters, parameters.InCheckSpecifiedCount,
ServiceImporter
.CodeGenerator), inParamNames, callbackMember, callbackName, userState);
951
SoapParameter.GetTypeFullNames(parameters.OutParameters, asyncReturnTypes, 1, parameters.OutCheckSpecifiedCount,
ServiceImporter
.CodeGenerator);
952
asyncReturnTypes[0] = parameters.Return == null ? null : WebCodeGenerator.FullTypeName(parameters.Return,
ServiceImporter
.CodeGenerator);
957
ExtraCodeClasses.Add(WebCodeGenerator.CreateArgsClass(delegateInfo.handlerArgs, asyncReturnTypes, asyncReturnNames,
ServiceImporter
.CodeGenerator.Supports(GeneratorSupport.PartialTypes)));
980
value = new CodeCastExpression(WebCodeGenerator.FullTypeName(parameter.mapping,
ServiceImporter
.CodeGenerator), value);
996
value = new CodeCastExpression(WebCodeGenerator.FullTypeName(parameters.Return,
ServiceImporter
.CodeGenerator), value);