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