2 instantiations of SearchMainOutput
NuGet.CommandLine.XPlat (2)
_generated\4\PackageSearchJsonContext.SearchMainOutput.g.cs (1)
31ObjectCreator = () => new global::NuGet.CommandLine.XPlat.SearchMainOutput(),
Commands\PackageSearch\PackageSearchResultJsonRenderer.cs (1)
68_packageSearchMainOutput = new SearchMainOutput();
29 references to SearchMainOutput
NuGet.CommandLine.XPlat (29)
_generated\36\PackageSearchJsonContext.GetJsonTypeInfo.g.cs (1)
38if (type == typeof(global::NuGet.CommandLine.XPlat.SearchMainOutput))
_generated\4\PackageSearchJsonContext.SearchMainOutput.g.cs (26)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.SearchMainOutput>? _SearchMainOutput; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.SearchMainOutput> SearchMainOutput 22get => _SearchMainOutput ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.SearchMainOutput>)Options.GetTypeInfo(typeof(global::NuGet.CommandLine.XPlat.SearchMainOutput)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.SearchMainOutput> Create_SearchMainOutput(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.CommandLine.XPlat.SearchMainOutput>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.SearchMainOutput> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.CommandLine.XPlat.SearchMainOutput> 35ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.SearchMainOutput).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.CommandLine.XPlat.SearchMainOutput>(options, objectInfo); 56DeclaringType = typeof(global::NuGet.CommandLine.XPlat.SearchMainOutput), 58Getter = static obj => ((global::NuGet.CommandLine.XPlat.SearchMainOutput)obj).Version, 59Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.SearchMainOutput)obj).Version = value!, 66AttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.SearchMainOutput).GetProperty("Version", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 76DeclaringType = typeof(global::NuGet.CommandLine.XPlat.SearchMainOutput), 78Getter = static obj => ((global::NuGet.CommandLine.XPlat.SearchMainOutput)obj).Problems, 79Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.SearchMainOutput)obj).Problems = value!, 86AttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.SearchMainOutput).GetProperty("Problems", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchProblem>), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::NuGet.CommandLine.XPlat.SearchMainOutput), 100Getter = static obj => ((global::NuGet.CommandLine.XPlat.SearchMainOutput)obj).SearchResult, 101Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.SearchMainOutput)obj).SearchResult = value!, 108AttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.SearchMainOutput).GetProperty("SearchResult", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>), global::System.Array.Empty<global::System.Type>(), null), 120private void SearchMainOutputSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::NuGet.CommandLine.XPlat.SearchMainOutput? value) 130writer.WriteNumber(PropName_version, ((global::NuGet.CommandLine.XPlat.SearchMainOutput)value).Version); 132ListPackageSearchProblemSerializeHandler(writer, ((global::NuGet.CommandLine.XPlat.SearchMainOutput)value).Problems); 134ListPackageSearchResultSerializeHandler(writer, ((global::NuGet.CommandLine.XPlat.SearchMainOutput)value).SearchResult);
Commands\PackageSearch\JsonFormat\PackageSearchJsonContext.cs (1)
8[JsonSerializable(typeof(SearchMainOutput))]
Commands\PackageSearch\PackageSearchResultJsonRenderer.cs (1)
19private SearchMainOutput _packageSearchMainOutput;