1 type derived from ApplicationOptions
dotnet-svcutil-lib (1)
Shared\Options\UpdateOptions.cs (1)
12
internal partial class UpdateOptions :
ApplicationOptions
29 references to ApplicationOptions
dotnet-svcutil-lib (29)
Shared\Options\ApplicationOptions.cs (11)
32
public virtual string Json { get { return Serialize<
ApplicationOptions
, OptionsSerializer<
ApplicationOptions
>>(); } }
87
public void CopyTo<TOptionsBase>(TOptionsBase other) where TOptionsBase :
ApplicationOptions
99
public TOptionsBase CloneAs<TOptionsBase>() where TOptionsBase :
ApplicationOptions
, new()
108
protected string Serialize<TOptionsBase, TSerializer>() where TOptionsBase :
ApplicationOptions
, new()
117
where TOptionsBase :
ApplicationOptions
, new()
124
where TOptionsBase :
ApplicationOptions
, new()
131
where TOptionsBase :
ApplicationOptions
, new()
161
protected static TOptionsBase FromFile<TOptionsBase>(string filePath, bool throwOnError = true) where TOptionsBase :
ApplicationOptions
, new()
166
protected static TOptionsBase FromJson<TOptionsBase>(string jsonText, bool throwOnError = true) where TOptionsBase :
ApplicationOptions
, new()
304
var value = OptionsSerializer<
ApplicationOptions
>.SerializeToString(this, prettyFormat);
Shared\Options\OptionsSerializer.cs (16)
21
internal class OptionsSerializer<TAppOptions> : JsonConverter where TAppOptions :
ApplicationOptions
, new()
60
case
ApplicationOptions
.ProviderIdKey:
61
case
ApplicationOptions
.VersionKey:
66
case
ApplicationOptions
.OptionsKey:
148
var providerOption = options.GetOption(
ApplicationOptions
.ProviderIdKey);
151
var versionOption = options.GetOption(
ApplicationOptions
.VersionKey);
157
var optionsOption = options.GetOption(
ApplicationOptions
.OptionsKey);
162
var inputsOption = options.GetOption(
ApplicationOptions
.InputsKey);
167
o.Name !=
ApplicationOptions
.InputsKey &&
168
o.Name !=
ApplicationOptions
.OptionsKey &&
169
o.Name !=
ApplicationOptions
.ProviderIdKey &&
170
o.Name !=
ApplicationOptions
.VersionKey).OrderBy(o => o.SerializationName);
213
o.Name !=
ApplicationOptions
.InputsKey &&
214
o.Name !=
ApplicationOptions
.OptionsKey &&
215
o.Name !=
ApplicationOptions
.ProviderIdKey &&
216
o.Name !=
ApplicationOptions
.VersionKey).OrderBy(o => o.SerializationName);
Shared\Options\OptionValueParser.cs (2)
154
ApplicationOptions
.ProviderIdKey,
ApplicationOptions
.VersionKey,