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), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 60Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).description, 61Setter = static (obj, value) => __set_CommandDetails_description((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 68AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("description", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 80Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).hidden, 81Setter = static (obj, value) => __set_CommandDetails_hidden((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 88AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("hidden", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 100Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).aliases, 101Setter = static (obj, value) => __set_CommandDetails_aliases((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 108AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("aliases", InstanceMemberBindingFlags, null, typeof(string[]), global::System.Array.Empty<global::System.Type>(), null), 118DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 120Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).arguments, 121Setter = static (obj, value) => __set_CommandDetails_arguments((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 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), 138DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 140Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).options, 141Setter = static (obj, value) => __set_CommandDetails_options((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 148AttributeProviderFactory = 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), 153var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>> 158DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 160Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).subcommands, 161Setter = static (obj, value) => __set_CommandDetails_subcommands((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 168AttributeProviderFactory = 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), 171properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>>(options, info5); 178private void CommandDetailsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails? value) 188writer.WriteString(PropName_description, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).description); 189writer.WriteBoolean(PropName_hidden, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).hidden); 191StringArraySerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).aliases); 193DictionaryStringArgumentDetailsSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).arguments); 195DictionaryStringOptionDetailsSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).options); 197DictionaryStringCommandDetailsSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).subcommands); 257ParameterType = typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>), 266private static extern void __set_CommandDetails_description(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, string value); 268private static extern void __set_CommandDetails_hidden(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, bool value); 270private static extern void __set_CommandDetails_aliases(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, string[] value); 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); 274private 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); 276private 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), 102DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 104Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).description, 105Setter = static (obj, value) => __set_RootCommandDetails_description((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 112AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("description", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 122DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 124Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).hidden, 125Setter = static (obj, value) => __set_RootCommandDetails_hidden((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 132AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("hidden", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 142DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 144Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).aliases, 145Setter = static (obj, value) => __set_RootCommandDetails_aliases((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 152AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails).GetProperty("aliases", InstanceMemberBindingFlags, null, typeof(string[]), global::System.Array.Empty<global::System.Type>(), null), 162DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 164Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).arguments, 165Setter = static (obj, value) => __set_RootCommandDetails_arguments((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 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), 182DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 184Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).options, 185Setter = static (obj, value) => __set_RootCommandDetails_options((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 192AttributeProviderFactory = 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), 197var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>> 202DeclaringType = typeof(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails), 204Getter = static obj => ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj).subcommands, 205Setter = static (obj, value) => __set_RootCommandDetails_subcommands((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)obj, value!), 212AttributeProviderFactory = 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), 215properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>>(options, info7); 234writer.WriteString(PropName_description, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).description); 235writer.WriteBoolean(PropName_hidden, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).hidden); 237StringArraySerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).aliases); 239DictionaryStringArgumentDetailsSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).arguments); 241DictionaryStringOptionDetailsSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).options); 243DictionaryStringCommandDetailsSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.CliSchema.CommandDetails)value).subcommands); 323ParameterType = typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>), 336private static extern void __set_RootCommandDetails_description(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, string value); 338private static extern void __set_RootCommandDetails_hidden(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, bool value); 340private static extern void __set_RootCommandDetails_aliases(global::Microsoft.DotNet.Cli.CliSchema.CommandDetails obj, string[] value); 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); 344private 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); 346private 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>(), 37jsonTypeInfo = 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); 47private void DictionaryStringCommandDetailsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.Dictionary<string, global::Microsoft.DotNet.Cli.CliSchema.CommandDetails>? value) 57foreach (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(