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>(), 35jsonTypeInfo = 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); 45private 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), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.CommandLine.XPlat.PackageSearchResult>(options, objectInfo); 56DeclaringType = typeof(global::NuGet.CommandLine.XPlat.PackageSearchResult), 58Getter = static obj => ((global::NuGet.CommandLine.XPlat.PackageSearchResult)obj).SourceName, 59Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.PackageSearchResult)obj).SourceName = value!, 66AttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.PackageSearchResult).GetProperty("SourceName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 76DeclaringType = typeof(global::NuGet.CommandLine.XPlat.PackageSearchResult), 78Getter = static obj => ((global::NuGet.CommandLine.XPlat.PackageSearchResult)obj).Problems, 79Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.PackageSearchResult)obj).Problems = value!, 86AttributeProviderFactory = 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), 96DeclaringType = typeof(global::NuGet.CommandLine.XPlat.PackageSearchResult), 98Getter = static obj => ((global::NuGet.CommandLine.XPlat.PackageSearchResult)obj).Packages, 99Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.PackageSearchResult)obj).Packages = value!, 106AttributeProviderFactory = 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), 116private void PackageSearchResultSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::NuGet.CommandLine.XPlat.PackageSearchResult? value) 126writer.WriteString(PropName_sourceName, ((global::NuGet.CommandLine.XPlat.PackageSearchResult)value).SourceName); 128ListPackageSearchProblemSerializeHandler(writer, ((global::NuGet.CommandLine.XPlat.PackageSearchResult)value).Problems); 130ListIPackageSearchMetadataSerializeHandler(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)
93var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.PackageSearchResult>> 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), 111properties[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)