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), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.CommandLine.XPlat.SearchMainOutput>(options, objectInfo); 58DeclaringType = typeof(global::NuGet.CommandLine.XPlat.SearchMainOutput), 60Getter = static obj => ((global::NuGet.CommandLine.XPlat.SearchMainOutput)obj).Version, 61Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.SearchMainOutput)obj).Version = value!, 68AttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.SearchMainOutput).GetProperty("Version", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::NuGet.CommandLine.XPlat.SearchMainOutput), 80Getter = static obj => ((global::NuGet.CommandLine.XPlat.SearchMainOutput)obj).Problems, 81Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.SearchMainOutput)obj).Problems = value!, 88AttributeProviderFactory = 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), 100DeclaringType = typeof(global::NuGet.CommandLine.XPlat.SearchMainOutput), 102Getter = static obj => ((global::NuGet.CommandLine.XPlat.SearchMainOutput)obj).SearchResult, 103Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.SearchMainOutput)obj).SearchResult = value!, 110AttributeProviderFactory = 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), 122private void SearchMainOutputSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::NuGet.CommandLine.XPlat.SearchMainOutput? value) 132writer.WriteNumber(PropName_version, ((global::NuGet.CommandLine.XPlat.SearchMainOutput)value).Version); 134ListPackageSearchProblemSerializeHandler(writer, ((global::NuGet.CommandLine.XPlat.SearchMainOutput)value).Problems); 136ListPackageSearchResultSerializeHandler(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;