3 instantiations of PackageSearchResult
NuGet.CommandLine.XPlat (3)
_generated\3\PackageSearchJsonContext.PackageSearchResult.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::NuGet.CommandLine.XPlat.PackageSearchResult((string)args[0]),
Commands\PackageSearch\PackageSearchResultJsonRenderer.cs (2)
30PackageSearchResult packageSearchResult = new PackageSearchResult(source.Name); 42PackageSearchResult packageSearchResult = new PackageSearchResult(source.Name)
47 references to PackageSearchResult
NuGet.CommandLine.XPlat (47)
_generated\25\PackageSearchJsonContext.ListPackageSearchResult.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>>? _ListPackageSearchResult; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>> ListPackageSearchResult 22get => _ListPackageSearchResult ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>> Create_ListPackageSearchResult(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>> 31ObjectCreator = () => new global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>(), 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>, global::NuGet.CommandLine.XPlat.PackageSearchResult>(options, info); 47private void ListPackageSearchResultSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>? value)
_generated\3\PackageSearchJsonContext.PackageSearchResult.g.cs (26)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.PackageSearchResult>? _PackageSearchResult; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.PackageSearchResult> PackageSearchResult 22get => _PackageSearchResult ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.PackageSearchResult>)Options.GetTypeInfo(typeof(global::NuGet.CommandLine.XPlat.PackageSearchResult)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.PackageSearchResult> Create_PackageSearchResult(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.CommandLine.XPlat.PackageSearchResult>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.PackageSearchResult> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.CommandLine.XPlat.PackageSearchResult> 35ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.PackageSearchResult).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.CommandLine.XPlat.PackageSearchResult>(options, objectInfo); 58DeclaringType = typeof(global::NuGet.CommandLine.XPlat.PackageSearchResult), 60Getter = static obj => ((global::NuGet.CommandLine.XPlat.PackageSearchResult)obj).SourceName, 61Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.PackageSearchResult)obj).SourceName = value!, 68AttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.PackageSearchResult).GetProperty("SourceName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::NuGet.CommandLine.XPlat.PackageSearchResult), 80Getter = static obj => ((global::NuGet.CommandLine.XPlat.PackageSearchResult)obj).Problems, 81Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.PackageSearchResult)obj).Problems = value!, 88AttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.PackageSearchResult).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.PackageSearchResult), 100Getter = static obj => ((global::NuGet.CommandLine.XPlat.PackageSearchResult)obj).Packages, 101Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.PackageSearchResult)obj).Packages = value!, 108AttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.PackageSearchResult).GetProperty("Packages", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::NuGet.Protocol.Core.Types.IPackageSearchMetadata>), global::System.Array.Empty<global::System.Type>(), null), 118private void PackageSearchResultSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::NuGet.CommandLine.XPlat.PackageSearchResult? value) 128writer.WriteString(PropName_sourceName, ((global::NuGet.CommandLine.XPlat.PackageSearchResult)value).SourceName); 130ListPackageSearchProblemSerializeHandler(writer, ((global::NuGet.CommandLine.XPlat.PackageSearchResult)value).Problems); 132ListIPackageSearchMetadataSerializeHandler(writer, ((global::NuGet.CommandLine.XPlat.PackageSearchResult)value).Packages);
_generated\36\PackageSearchJsonContext.GetJsonTypeInfo.g.cs (2)
34if (type == typeof(global::NuGet.CommandLine.XPlat.PackageSearchResult)) 122if (type == typeof(global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>))
_generated\4\PackageSearchJsonContext.SearchMainOutput.g.cs (3)
95var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>> 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), 113properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>>(options, info2);
Commands\PackageSearch\JsonFormat\PackageSearchMainOutput.cs (2)
20public List<PackageSearchResult> SearchResult { get; set; } 26SearchResult = new List<PackageSearchResult>();
Commands\PackageSearch\PackageSearchResultJsonRenderer.cs (2)
30PackageSearchResult packageSearchResult = new PackageSearchResult(source.Name); 42PackageSearchResult packageSearchResult = new PackageSearchResult(source.Name)