28 references to ServiceContractGenerationOptions
dotnet-svcutil-lib (28)
CodeDomFixup\VisitorFixup.cs (2)
32
new CreateCallbackImpl((generator.Options &
ServiceContractGenerationOptions
.TaskBasedAsynchronousMethod) ==
ServiceContractGenerationOptions
.TaskBasedAsynchronousMethod, generator),
CodeDomFixup\WcfCodeGenerationExtension.cs (3)
71
generator.Options &= ~
ServiceContractGenerationOptions
.AsynchronousMethods;
72
generator.Options &= ~
ServiceContractGenerationOptions
.EventBasedAsynchronousMethods;
73
generator.Options |=
ServiceContractGenerationOptions
.TaskBasedAsynchronousMethod;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
130
_messageContractType = context.ServiceContractGenerator.OptionsInternal.IsSet(
ServiceContractGenerationOptions
.TypedMessages) ? MessageContractType.WrappedMessageContract : MessageContractType.None;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (14)
25
private OptionsHelper _options = new OptionsHelper(
ServiceContractGenerationOptions
.ChannelInterface |
26
ServiceContractGenerationOptions
.ClientClass);
74
public
ServiceContractGenerationOptions
Options
132
context = new ContextInitializer(this, new CodeTypeFactory(this, _options.IsSet(
ServiceContractGenerationOptions
.InternalTypes))).CreateContext(contractDescription);
160
if (_options.IsSet(
ServiceContractGenerationOptions
.ChannelInterface))
165
if (_options.IsSet(
ServiceContractGenerationOptions
.ClientClass))
168
bool tryAddHelperMethod = !_options.IsSet(
ServiceContractGenerationOptions
.TypedMessages);
169
bool generateEventAsyncMethods = _options.IsSet(
ServiceContractGenerationOptions
.EventBasedAsynchronousMethods);
210
_asyncMethods = parent.OptionsInternal.IsSet(
ServiceContractGenerationOptions
.AsynchronousMethods);
211
_taskMethod = parent.OptionsInternal.IsSet(
ServiceContractGenerationOptions
.TaskBasedAsynchronousMethod);
773
public readonly
ServiceContractGenerationOptions
Options;
775
public OptionsHelper(
ServiceContractGenerationOptions
options)
780
public bool IsSet(
ServiceContractGenerationOptions
option)
784
return ((this.Options & option) !=
ServiceContractGenerationOptions
.None);
ImportModule.cs (8)
278
contractGenerator.Options |=
ServiceContractGenerationOptions
.AsynchronousMethods;
279
contractGenerator.Options |=
ServiceContractGenerationOptions
.TaskBasedAsynchronousMethod;
283
contractGenerator.Options |=
ServiceContractGenerationOptions
.InternalTypes;
287
contractGenerator.Options &= ~
ServiceContractGenerationOptions
.InternalTypes;
292
contractGenerator.Options |=
ServiceContractGenerationOptions
.TypedMessages;
296
contractGenerator.Options &= ~
ServiceContractGenerationOptions
.TypedMessages;
301
contractGenerator.Options &= ~
ServiceContractGenerationOptions
.ChannelInterface & ~
ServiceContractGenerationOptions
.ClientClass;