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