2 instantiations of LocalToolListJsonContract
dotnet (2)
_generated\57\ToolListJsonSerializerContext.LocalToolListJsonContract.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract(){ Manifest = (string)args[0], PackageId = (string)args[1], Version = (string)args[2], Commands = (string[])args[3] },
Commands\Tool\List\ToolListLocalCommand.cs (1)
84Data = [.. packageEnumerable.Select(p => new LocalToolListJsonContract
61 references to LocalToolListJsonContract
dotnet (61)
_generated\57\ToolListJsonSerializerContext.LocalToolListJsonContract.g.cs (17)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract>? _LocalToolListJsonContract; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract> LocalToolListJsonContract 22get => _LocalToolListJsonContract ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract> Create_LocalToolListJsonContract(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract), 58Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract)obj).Manifest, 59Setter = static (obj, value) => __set_LocalToolListJsonContract_Manifest((global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract)obj, value!), 66AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract).GetProperty("Manifest", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 140private void LocalToolListJsonContractSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract? value) 150writer.WriteString(PropName_manifest, ((global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract)value).Manifest); 199private static extern void __set_LocalToolListJsonContract_Manifest(global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract obj, string value);
_generated\58\ToolListJsonSerializerContext.LocalToolListJsonContractArray.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>? _LocalToolListJsonContractArray; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]> LocalToolListJsonContractArray 22get => _LocalToolListJsonContractArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[])); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]> Create_LocalToolListJsonContractArray(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]> 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract>(options, info); 45private void LocalToolListJsonContractArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]? value)
_generated\61\ToolListJsonSerializerContext.VersionedDataContractLocalToolListJsonContractArray.g.cs (29)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>>? _VersionedDataContractLocalToolListJsonContractArray; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>> VersionedDataContractLocalToolListJsonContractArray 22get => _VersionedDataContractLocalToolListJsonContractArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>> Create_VersionedDataContractLocalToolListJsonContractArray(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>> 32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>(){ Data = (global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[])args[0] }, 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>), 58Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>)obj).Version, 59Setter = static (obj, value) => __GenericAccessors_VersionedDataContractLocalToolListJsonContractArray<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>.__set_VersionedDataContractLocalToolListJsonContractArray_Version((global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>)obj, value!), 66AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>).GetProperty("Version", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 71var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]> 76DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>), 78Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>)obj).Data, 79Setter = static (obj, value) => __GenericAccessors_VersionedDataContractLocalToolListJsonContractArray<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>.__set_VersionedDataContractLocalToolListJsonContractArray_Data((global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>)obj, value!), 86AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>).GetProperty("Data", InstanceMemberBindingFlags, null, typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]), global::System.Array.Empty<global::System.Type>(), null), 89properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>(options, info1); 97private void VersionedDataContractLocalToolListJsonContractArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>? value) 107writer.WriteNumber(PropName_version, ((global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>)value).Version); 109LocalToolListJsonContractArraySerializeHandler(writer, ((global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>)value).Data); 119ParameterType = typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]),
_generated\67\ToolListJsonSerializerContext.GetJsonTypeInfo.g.cs (3)
22if (type == typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract)) 26if (type == typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[])) 38if (type == typeof(global::Microsoft.DotNet.Cli.Commands.Tool.List.VersionedDataContract<global::Microsoft.DotNet.Cli.Commands.Tool.List.LocalToolListJsonContract[]>))
Commands\Tool\List\ToolListJsonHelper.cs (1)
50[JsonSerializable(typeof(VersionedDataContract<LocalToolListJsonContract[]>))]
Commands\Tool\List\ToolListLocalCommand.cs (1)
82var jsonData = new VersionedDataContract<LocalToolListJsonContract[]>()