2 instantiations of ArgumentDetails
dotnet (2)
_generated\1\CliSchemaJsonSerializerContext.ArgumentDetails.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails((string)args[0], (int)args[1], (bool)args[2], (string)args[3], (string)args[4], (bool)args[5], (object)args[6], (global::Microsoft.DotNet.Cli.CliSchema.ArityDetails)args[7]),
CliSchema.cs (1)
210private static ArgumentDetails CreateArgumentDetails(int index, Argument argument) => new ArgumentDetails(
84 references to ArgumentDetails
dotnet (84)
_generated\1\CliSchemaJsonSerializerContext.ArgumentDetails.g.cs (50)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>? _ArgumentDetails; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails> ArgumentDetails 22get => _ArgumentDetails ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails> Create_ArgumentDetails(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(int), typeof(bool), typeof(string), typeof(string), typeof(bool), typeof(object), typeof(global::Microsoft.DotNet.Cli.CliSchema.ArityDetails)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 60Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).description, 61Setter = static (obj, value) => __set_ArgumentDetails_description((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 68AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("description", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 80Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).order, 81Setter = static (obj, value) => __set_ArgumentDetails_order((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 88AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("order", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 100Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).hidden, 101Setter = static (obj, value) => __set_ArgumentDetails_hidden((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 108AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("hidden", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 118DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 120Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).helpName, 121Setter = static (obj, value) => __set_ArgumentDetails_helpName((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 128AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("helpName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 138DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 140Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).valueType, 141Setter = static (obj, value) => __set_ArgumentDetails_valueType((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 148AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("valueType", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 160DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 162Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).hasDefaultValue, 163Setter = static (obj, value) => __set_ArgumentDetails_hasDefaultValue((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 170AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("hasDefaultValue", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 180DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 182Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).defaultValue, 183Setter = static (obj, value) => __set_ArgumentDetails_defaultValue((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 190AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("defaultValue", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null), 200DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 202Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).arity, 203Setter = static (obj, value) => __set_ArgumentDetails_arity((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 210AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("arity", InstanceMemberBindingFlags, null, typeof(global::Microsoft.DotNet.Cli.CliSchema.ArityDetails), global::System.Array.Empty<global::System.Type>(), null), 304private static extern void __set_ArgumentDetails_description(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, string value); 306private static extern void __set_ArgumentDetails_order(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, int value); 308private static extern void __set_ArgumentDetails_hidden(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, bool value); 310private static extern void __set_ArgumentDetails_helpName(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, string value); 312private static extern void __set_ArgumentDetails_valueType(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, string value); 314private static extern void __set_ArgumentDetails_hasDefaultValue(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, bool value); 316private static extern void __set_ArgumentDetails_defaultValue(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, object value); 318private static extern void __set_ArgumentDetails_arity(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, global::Microsoft.DotNet.Cli.CliSchema.ArityDetails value);
_generated\15\CliSchemaJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
26if (type == typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)) 46if (type == typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>))
_generated\3\CliSchemaJsonSerializerContext.CommandDetails.g.cs (7)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.DotNet.Cli.CliSchema.CommandDetails((string)args[0], (bool)args[1], (string[])args[2], (global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>)args[3], (global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.OptionDetails>)args[4], (global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>)args[5]), 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(bool), typeof(string[]), typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>), typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.OptionDetails>), typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>)}, modifiers: null), 113var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>> 128AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("arguments", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>), global::System.Array.Empty<global::System.Type>(), null), 131properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>>(options, info3); 237ParameterType = typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>), 272private static extern void __set_CommandDetails_arguments(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails> value);
_generated\5\CliSchemaJsonSerializerContext.RootCommandDetails.g.cs (7)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.DotNet.Cli.CliSchema.RootCommandDetails((string)args[0], (string)args[1], (string)args[2], (bool)args[3], (string[])args[4], (global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>)args[5], (global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.OptionDetails>)args[6], (global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>)args[7]), 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.RootCommandDetails).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string), typeof(string), typeof(bool), typeof(string[]), typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>), typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.OptionDetails>), typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>)}, modifiers: null), 157var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>> 172AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("arguments", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>), global::System.Array.Empty<global::System.Type>(), null), 175properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>>(options, info5); 303ParameterType = typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>), 342private static extern void __set_RootCommandDetails_arguments(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails> value);
_generated\6\CliSchemaJsonSerializerContext.DictionaryStringArgumentDetails.g.cs (13)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>>? _DictionaryStringArgumentDetails; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>> DictionaryStringArgumentDetails 22get => _DictionaryStringArgumentDetails ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>> Create_DictionaryStringArgumentDetails(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>> 31ObjectCreator = () => new global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>(), 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateDictionaryInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>, string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>(options, info); 47private void DictionaryStringArgumentDetailsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>? value) 57foreach (global::System.Collections.Generic.KeyValuePair<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails> entry in value)
CliSchema.cs (5)
65Dictionary<string, ArgumentDetails>? arguments, 75Dictionary<string, ArgumentDetails>? arguments, 124private static Dictionary<string, ArgumentDetails>? CreateArgumentsDictionary(IList<Argument> arguments) 130var dict = new Dictionary<string, ArgumentDetails>(); 210private static ArgumentDetails CreateArgumentDetails(int index, Argument argument) => new ArgumentDetails(