19 references to SerializerMode
dotnet-svcutil-lib (19)
CommandProcessorOptions.cs (1)
737
this.SerializerMode = Svcutil.
SerializerMode
.Default;
HelpGenerator.cs (3)
64
ArgumentInfo.CreateParameterHelpInfo(CommandProcessorOptions.Switches.Serializer.Name,
SerializerMode
.Auto.ToString(), string.Format(SR.HelpAutoSerializerFormat, CommandProcessorOptions.Switches.Serializer.Abbreviation), true),
65
ArgumentInfo.CreateParameterHelpInfo(CommandProcessorOptions.Switches.Serializer.Name,
SerializerMode
.DataContractSerializer.ToString(), SR.HelpDataContractSerializer),
66
ArgumentInfo.CreateParameterHelpInfo(CommandProcessorOptions.Switches.Serializer.Name,
SerializerMode
.XmlSerializer.ToString(), SR.HelpXmlSerializer),
ImportModule.cs (11)
259
if ((options.SerializerMode ==
SerializerMode
.Auto || options.SerializerMode ==
SerializerMode
.Default) && serviceDescriptor.ContainsHttpBindings())
263
options.SerializerMode =
SerializerMode
.XmlSerializer;
268
case
SerializerMode
.Default:
269
case
SerializerMode
.Auto:
271
case
SerializerMode
.XmlSerializer:
274
case
SerializerMode
.DataContractSerializer:
287
case
SerializerMode
.Default:
288
case
SerializerMode
.Auto:
292
case
SerializerMode
.XmlSerializer:
295
case
SerializerMode
.DataContractSerializer:
Shared\Options\UpdateOptions.cs (4)
43
public
SerializerMode
? SerializerMode { get { return GetValue<
SerializerMode
?>(SerializerModeKey); } set { SetValue(SerializerModeKey, value); } }
63
new SingleValueOption<
SerializerMode
>(SerializerModeKey) { SerializationName = "serializerMode", DefaultValue = Svcutil.
SerializerMode
.Default },