3 instantiations of PackageSearchResult
NuGet.CommandLine.XPlat (3)
_generated\3\PackageSearchJsonContext.PackageSearchResult.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::NuGet.CommandLine.XPlat.
PackageSearchResult
((string)args[0]),
Commands\PackageSearch\PackageSearchResultJsonRenderer.cs (2)
30
PackageSearchResult packageSearchResult = new
PackageSearchResult
(source.Name);
42
PackageSearchResult packageSearchResult = new
PackageSearchResult
(source.Name)
47 references to PackageSearchResult
NuGet.CommandLine.XPlat (47)
_generated\25\PackageSearchJsonContext.ListPackageSearchResult.g.cs (12)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchResult
>>? _ListPackageSearchResult;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchResult
>> ListPackageSearchResult
22
get => _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
>));
25
private 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)
27
if (!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))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchResult
>>
31
ObjectCreator = () => new global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchResult
>(),
35
jsonTypeInfo = 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);
45
private 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)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.
PackageSearchResult
>? _PackageSearchResult;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.
PackageSearchResult
> PackageSearchResult
22
get => _PackageSearchResult ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.
PackageSearchResult
>)Options.GetTypeInfo(typeof(global::NuGet.CommandLine.XPlat.
PackageSearchResult
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.
PackageSearchResult
> Create_PackageSearchResult(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.CommandLine.XPlat.
PackageSearchResult
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.CommandLine.XPlat.
PackageSearchResult
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.CommandLine.XPlat.
PackageSearchResult
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.
PackageSearchResult
).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.CommandLine.XPlat.
PackageSearchResult
>(options, objectInfo);
56
DeclaringType = typeof(global::NuGet.CommandLine.XPlat.
PackageSearchResult
),
58
Getter = static obj => ((global::NuGet.CommandLine.XPlat.
PackageSearchResult
)obj).SourceName,
59
Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.
PackageSearchResult
)obj).SourceName = value!,
66
AttributeProviderFactory = static () => typeof(global::NuGet.CommandLine.XPlat.
PackageSearchResult
).GetProperty("SourceName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
76
DeclaringType = typeof(global::NuGet.CommandLine.XPlat.
PackageSearchResult
),
78
Getter = static obj => ((global::NuGet.CommandLine.XPlat.
PackageSearchResult
)obj).Problems,
79
Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.
PackageSearchResult
)obj).Problems = value!,
86
AttributeProviderFactory = 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),
96
DeclaringType = typeof(global::NuGet.CommandLine.XPlat.
PackageSearchResult
),
98
Getter = static obj => ((global::NuGet.CommandLine.XPlat.
PackageSearchResult
)obj).Packages,
99
Setter = static (obj, value) => ((global::NuGet.CommandLine.XPlat.
PackageSearchResult
)obj).Packages = value!,
106
AttributeProviderFactory = 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),
116
private void PackageSearchResultSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::NuGet.CommandLine.XPlat.
PackageSearchResult
? value)
126
writer.WriteString(PropName_sourceName, ((global::NuGet.CommandLine.XPlat.
PackageSearchResult
)value).SourceName);
128
ListPackageSearchProblemSerializeHandler(writer, ((global::NuGet.CommandLine.XPlat.
PackageSearchResult
)value).Problems);
130
ListIPackageSearchMetadataSerializeHandler(writer, ((global::NuGet.CommandLine.XPlat.
PackageSearchResult
)value).Packages);
_generated\36\PackageSearchJsonContext.GetJsonTypeInfo.g.cs (2)
34
if (type == typeof(global::NuGet.CommandLine.XPlat.
PackageSearchResult
))
122
if (type == typeof(global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchResult
>))
_generated\4\PackageSearchJsonContext.SearchMainOutput.g.cs (3)
93
var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::NuGet.CommandLine.XPlat.
PackageSearchResult
>>
108
AttributeProviderFactory = 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),
111
properties[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)
20
public List<
PackageSearchResult
> SearchResult { get; set; }
26
SearchResult = new List<
PackageSearchResult
>();
Commands\PackageSearch\PackageSearchResultJsonRenderer.cs (2)
30
PackageSearchResult
packageSearchResult = new PackageSearchResult(source.Name);
42
PackageSearchResult
packageSearchResult = new PackageSearchResult(source.Name)