6 instantiations of OperationContractGenerationContext
System.ServiceModel (6)
System\ServiceModel\Description\ServiceContractGenerator.cs (6)
353operationContext = new OperationContractGenerationContext(parent, context, operationDescription, declaringType, syncMethod, beginMethod, endMethod); 357operationContext = new OperationContractGenerationContext(parent, context, operationDescription, declaringType, syncMethod); 366operationContext = new OperationContractGenerationContext(parent, context, operationDescription, declaringType, syncMethod); 370operationContext = new OperationContractGenerationContext(parent, context, operationDescription, declaringType, syncMethod, beginMethod, endMethod); 379operationContext = new OperationContractGenerationContext(parent, context, operationDescription, declaringType, syncMethod, taskBasedAsyncMethod); 383operationContext = new OperationContractGenerationContext(parent, context, operationDescription, declaringType, syncMethod, beginMethod, endMethod, taskBasedAsyncMethod);
30 references to OperationContractGenerationContext
System.ServiceModel (30)
System\ServiceModel\Description\ClientClassGenerator.cs (4)
203foreach (OperationContractGenerationContext operationContext in context.Operations) 421Collection<OperationContractGenerationContext> operations = (Collection<OperationContractGenerationContext>)operationsObject; 422foreach (OperationContractGenerationContext operationContext in operations)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (5)
75void IOperationContractGenerationExtension.GenerateOperation(OperationContractGenerationContext context) 100void AddKnownTypesForPart(OperationContractGenerationContext context, MessagePartDescription part, Dictionary<CodeTypeReference, object> operationKnownTypes) 119internal static void UpdateTargetCompileUnit(OperationContractGenerationContext context, CodeCompileUnit codeCompileUnit) 148OperationContractGenerationContext context; 178public WrappedBodyTypeGenerator(DataContractSerializerOperationGenerator dataContractSerializerOperationGenerator, OperationContractGenerationContext context)
System\ServiceModel\Description\IOperationContractGenerationExtension.cs (1)
12void GenerateOperation(OperationContractGenerationContext context);
System\ServiceModel\Description\OperationGenerator.cs (3)
66internal void GenerateOperation(OperationContractGenerationContext context, ref OperationFormatStyle style, bool isEncoded, IWrappedBodyTypeGenerator wrappedBodyTypeGenerator, Dictionary<MessagePartDescription, ICollection<CodeTypeReference>> knownTypes) 95readonly OperationContractGenerationContext Context; 122internal MethodSignatureGenerator(OperationGenerator parent, OperationContractGenerationContext context, OperationFormatStyle style, bool isEncoded, IWrappedBodyTypeGenerator wrappedBodyTypeGenerator, Dictionary<MessagePartDescription, ICollection<CodeTypeReference>> knownTypes)
System\ServiceModel\Description\ServiceContractGenerationContext.cs (3)
19readonly Collection<OperationContractGenerationContext> operations = new Collection<OperationContractGenerationContext>(); 108public Collection<OperationContractGenerationContext> Operations
System\ServiceModel\Description\ServiceContractGenerator.cs (11)
34Dictionary<OperationDescription, OperationContractGenerationContext> generatedOperations; 64this.generatedOperations = new Dictionary<OperationDescription, OperationContractGenerationContext>(); 336OperationContractGenerationContext operationContext; 434void AddOperationContractAttributes(OperationContractGenerationContext context) 585foreach (OperationContractGenerationContext operationContext in context.Operations) 603foreach (OperationContractGenerationContext operationContext in context.Operations) 610static void CallOperationExtensions(IEnumerable<IOperationContractGenerationExtension> extensions, OperationContractGenerationContext context) 645void IOperationContractGenerationExtension.GenerateOperation(OperationContractGenerationContext context) 656static CodeAttributeDeclaration CreateAttrDecl(OperationContractGenerationContext context, FaultDescription fault) 866void IOperationContractGenerationExtension.GenerateOperation(OperationContractGenerationContext context) 877static CodeAttributeDeclaration CreateAttrDecl(OperationContractGenerationContext context, TransactionFlowAttribute attr)
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (3)
116void IOperationContractGenerationExtension.GenerateOperation(OperationContractGenerationContext context) 231OperationContractGenerationContext context; 232public WrappedBodyTypeGenerator(OperationContractGenerationContext context)