1 type derived from CommandDetails
dotnet (1)
CliSchema.cs (1)
78) : CommandDetails(description, hidden, aliases, arguments, options, subcommands);
2 instantiations of CommandDetails
dotnet (2)
_generated\3\CliSchemaJsonSerializerContext.CommandDetails.g.cs (1)
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]),
CliSchema.cs (1)
177private static CommandDetails CreateCommandDetails(Command subCommand) => new CommandDetails(
117 references to CommandDetails
dotnet (117)
_generated\15\CliSchemaJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
34if (type == typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)) 50if (type == typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>))
_generated\3\CliSchemaJsonSerializerContext.CommandDetails.g.cs (54)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>? _CommandDetails; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.CliSchema.CommandDetails> CommandDetails 22get => _CommandDetails ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.CliSchema.CommandDetails> Create_CommandDetails(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.CliSchema.CommandDetails> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.Cli.CliSchema.CommandDetails> 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), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 58Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).description, 59Setter = static (obj, value) => __set_CommandDetails_description((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 66AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("description", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 76DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 78Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).hidden, 79Setter = static (obj, value) => __set_CommandDetails_hidden((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 86AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("hidden", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 96DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 98Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).aliases, 99Setter = static (obj, value) => __set_CommandDetails_aliases((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 106AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("aliases", InstanceMemberBindingFlags, null, typeof(string[]), global::System.Array.Empty<global::System.Type>(), null), 116DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 118Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).arguments, 119Setter = static (obj, value) => __set_CommandDetails_arguments((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 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), 136DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 138Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).options, 139Setter = static (obj, value) => __set_CommandDetails_options((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 146AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("options", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.OptionDetails>), global::System.Array.Empty<global::System.Type>(), null), 151var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>> 156DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 158Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).subcommands, 159Setter = static (obj, value) => __set_CommandDetails_subcommands((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 166AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("subcommands", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>), global::System.Array.Empty<global::System.Type>(), null), 169properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>>(options, info5); 176private void CommandDetailsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails? value) 186writer.WriteString(PropName_description, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).description); 187writer.WriteBoolean(PropName_hidden, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).hidden); 189StringArraySerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).aliases); 191DictionaryStringArgumentDetailsSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).arguments); 193DictionaryStringOptionDetailsSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).options); 195DictionaryStringCommandDetailsSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).subcommands); 255ParameterType = typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>), 264private static extern void __set_CommandDetails_description(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, string value); 266private static extern void __set_CommandDetails_hidden(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, bool value); 268private static extern void __set_CommandDetails_aliases(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, string[] value); 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); 272private static extern void __set_CommandDetails_options(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.OptionDetails> value); 274private static extern void __set_CommandDetails_subcommands(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails> value);
_generated\5\CliSchemaJsonSerializerContext.RootCommandDetails.g.cs (43)
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), 100DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 102Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).description, 103Setter = static (obj, value) => __set_RootCommandDetails_description((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 110AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("description", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 120DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 122Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).hidden, 123Setter = static (obj, value) => __set_RootCommandDetails_hidden((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 130AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("hidden", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 140DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 142Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).aliases, 143Setter = static (obj, value) => __set_RootCommandDetails_aliases((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 150AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("aliases", InstanceMemberBindingFlags, null, typeof(string[]), global::System.Array.Empty<global::System.Type>(), null), 160DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 162Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).arguments, 163Setter = static (obj, value) => __set_RootCommandDetails_arguments((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 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), 180DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 182Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).options, 183Setter = static (obj, value) => __set_RootCommandDetails_options((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 190AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("options", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.OptionDetails>), global::System.Array.Empty<global::System.Type>(), null), 195var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>> 200DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 202Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).subcommands, 203Setter = static (obj, value) => __set_RootCommandDetails_subcommands((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 210AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("subcommands", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>), global::System.Array.Empty<global::System.Type>(), null), 213properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>>(options, info7); 232writer.WriteString(PropName_description, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).description); 233writer.WriteBoolean(PropName_hidden, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).hidden); 235StringArraySerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).aliases); 237DictionaryStringArgumentDetailsSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).arguments); 239DictionaryStringOptionDetailsSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).options); 241DictionaryStringCommandDetailsSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).subcommands); 321ParameterType = typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>), 334private static extern void __set_RootCommandDetails_description(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, string value); 336private static extern void __set_RootCommandDetails_hidden(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, bool value); 338private static extern void __set_RootCommandDetails_aliases(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, string[] value); 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); 342private static extern void __set_RootCommandDetails_options(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.OptionDetails> value); 344private static extern void __set_RootCommandDetails_subcommands(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails> value);
_generated\7\CliSchemaJsonSerializerContext.DictionaryStringCommandDetails.g.cs (13)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>>? _DictionaryStringCommandDetails; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>> DictionaryStringCommandDetails 22get => _DictionaryStringCommandDetails ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>> Create_DictionaryStringCommandDetails(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>> 31ObjectCreator = () => new global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>(), 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateDictionaryInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>, string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>(options, info); 45private void DictionaryStringCommandDetailsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>? value) 55foreach (global::System.Collections.Generic.KeyValuePair<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails> entry in value)
CliSchema.cs (5)
67Dictionary<string, CommandDetails>? subcommands); 77Dictionary<string, CommandDetails>? subcommands 152private static Dictionary<string, CommandDetails>? CreateSubcommandsDictionary(IList<Command> subcommands) 158var dict = new Dictionary<string, CommandDetails>(); 177private static CommandDetails CreateCommandDetails(Command subCommand) => new CommandDetails(