30 references to ServiceContractGenerationOptions
dotnet-svcutil-lib (30)
CodeDomFixup\VisitorFixup.cs (4)
14
ArrayOfXElementTypeHelper arrayOfXElementTypeHelper = new ArrayOfXElementTypeHelper((generator.Options &
ServiceContractGenerationOptions
.InternalTypes) ==
ServiceContractGenerationOptions
.InternalTypes, generator.TargetCompileUnit);
27
new CreateCallbackImpl((generator.Options &
ServiceContractGenerationOptions
.TaskBasedAsynchronousMethod) ==
ServiceContractGenerationOptions
.TaskBasedAsynchronousMethod, generator),
CodeDomFixup\WcfCodeGenerationExtension.cs (3)
84
generator.Options &= ~
ServiceContractGenerationOptions
.AsynchronousMethods;
85
generator.Options &= ~
ServiceContractGenerationOptions
.EventBasedAsynchronousMethods;
86
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)
230
contractGenerator.Options |=
ServiceContractGenerationOptions
.AsynchronousMethods;
231
contractGenerator.Options |=
ServiceContractGenerationOptions
.TaskBasedAsynchronousMethod;
235
contractGenerator.Options |=
ServiceContractGenerationOptions
.InternalTypes;
239
contractGenerator.Options &= ~
ServiceContractGenerationOptions
.InternalTypes;
244
contractGenerator.Options |=
ServiceContractGenerationOptions
.TypedMessages;
248
contractGenerator.Options &= ~
ServiceContractGenerationOptions
.TypedMessages;
253
contractGenerator.Options &= ~
ServiceContractGenerationOptions
.ChannelInterface & ~
ServiceContractGenerationOptions
.ClientClass;