25 references to ServiceContractGenerationOptions
System.ServiceModel (15)
System\ServiceModel\Description\OperationGenerator.cs (1)
130this.MessageContractType = context.ServiceContractGenerator.OptionsInternal.IsSet(ServiceContractGenerationOptions.TypedMessages) ? MessageContractType.WrappedMessageContract : MessageContractType.None;
System\ServiceModel\Description\ServiceContractGenerator.cs (14)
29OptionsHelper options = new OptionsHelper(ServiceContractGenerationOptions.ChannelInterface | 30ServiceContractGenerationOptions.ClientClass); 92public ServiceContractGenerationOptions Options 186context = new ContextInitializer(this, new CodeTypeFactory(this, options.IsSet(ServiceContractGenerationOptions.InternalTypes))).CreateContext(contractDescription); 214if (this.options.IsSet(ServiceContractGenerationOptions.ChannelInterface)) 219if (this.options.IsSet(ServiceContractGenerationOptions.ClientClass)) 222bool tryAddHelperMethod = !this.options.IsSet(ServiceContractGenerationOptions.TypedMessages); 223bool generateEventAsyncMethods = this.options.IsSet(ServiceContractGenerationOptions.EventBasedAsynchronousMethods); 264this.asyncMethods = parent.OptionsInternal.IsSet(ServiceContractGenerationOptions.AsynchronousMethods); 265this.taskMethod = parent.OptionsInternal.IsSet(ServiceContractGenerationOptions.TaskBasedAsynchronousMethod); 827public readonly ServiceContractGenerationOptions Options; 829public OptionsHelper(ServiceContractGenerationOptions options) 834public bool IsSet(ServiceContractGenerationOptions option) 838return ((this.Options & option) != ServiceContractGenerationOptions.None);
System.Web.Extensions (10)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (10)
516contractGenerator.Options |= ServiceContractGenerationOptions.InternalTypes; 520contractGenerator.Options &= ~ServiceContractGenerationOptions.InternalTypes; 524contractGenerator.Options &= ~ServiceContractGenerationOptions.AsynchronousMethods & 525~ServiceContractGenerationOptions.EventBasedAsynchronousMethods & 526~ServiceContractGenerationOptions.TaskBasedAsynchronousMethod; 530contractGenerator.Options |= ServiceContractGenerationOptions.TaskBasedAsynchronousMethod; 534contractGenerator.Options |= ServiceContractGenerationOptions.AsynchronousMethods; 537contractGenerator.Options |= ServiceContractGenerationOptions.EventBasedAsynchronousMethods; 543contractGenerator.Options |= ServiceContractGenerationOptions.TypedMessages; 547contractGenerator.Options &= ~ServiceContractGenerationOptions.TypedMessages;