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), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 58Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).description, 59Setter = static (obj, value) => __set_ArgumentDetails_description((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 66AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("description", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 76DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 78Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).order, 79Setter = static (obj, value) => __set_ArgumentDetails_order((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 86AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("order", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 96DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 98Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).hidden, 99Setter = static (obj, value) => __set_ArgumentDetails_hidden((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 106AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("hidden", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 116DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 118Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).helpName, 119Setter = static (obj, value) => __set_ArgumentDetails_helpName((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 126AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("helpName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 136DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 138Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).valueType, 139Setter = static (obj, value) => __set_ArgumentDetails_valueType((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 146AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("valueType", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 158DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 160Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).hasDefaultValue, 161Setter = static (obj, value) => __set_ArgumentDetails_hasDefaultValue((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 168AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("hasDefaultValue", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 178DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 180Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).defaultValue, 181Setter = static (obj, value) => __set_ArgumentDetails_defaultValue((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 188AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails).GetProperty("defaultValue", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null), 198DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails), 200Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj).arity, 201Setter = static (obj, value) => __set_ArgumentDetails_arity((global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails)obj, value!), 208AttributeProviderFactory = 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), 302private static extern void __set_ArgumentDetails_description(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, string value); 304private static extern void __set_ArgumentDetails_order(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, int value); 306private static extern void __set_ArgumentDetails_hidden(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, bool value); 308private static extern void __set_ArgumentDetails_helpName(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, string value); 310private static extern void __set_ArgumentDetails_valueType(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, string value); 312private static extern void __set_ArgumentDetails_hasDefaultValue(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, bool value); 314private static extern void __set_ArgumentDetails_defaultValue(global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails obj, object value); 316private 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), 111var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>> 126AttributeProviderFactory = 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), 129properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>>(options, info3); 235ParameterType = typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>), 270private 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), 155var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>> 170AttributeProviderFactory = 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), 173properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>>(options, info5); 301ParameterType = typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>), 340private 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>(), 35jsonTypeInfo = 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); 45private void DictionaryStringArgumentDetailsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.ArgumentDetails>? value) 55foreach (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(