2 instantiations of SearchResult
aspire-nuget (2)
Commands\SearchCommand.cs (1)
283
var result = new
SearchResult
SearchJsonContext.SearchResult.g.cs (1)
31
ObjectCreator = () => new global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
(),
24 references to SearchResult
aspire-nuget (24)
Commands\SearchCommand.cs (2)
283
var
result = new SearchResult
340
[JsonSerializable(typeof(
SearchResult
))]
SearchJsonContext.GetJsonTypeInfo.g.cs (1)
30
if (type == typeof(global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
))
SearchJsonContext.SearchResult.g.cs (21)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
>? _SearchResult;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
> SearchResult
22
get => _SearchResult ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
> Create_SearchResult(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
),
58
Getter = static obj => ((global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
)obj).Packages,
59
Setter = static (obj, value) => ((global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
)obj).Packages = value!,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
).GetProperty("Packages", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo>), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
),
80
Getter = static obj => ((global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
)obj).TotalHits,
81
Setter = static (obj, value) => ((global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
)obj).TotalHits = value!,
88
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
).GetProperty("TotalHits", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
98
private void SearchResultSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
? value)
108
global::System.Collections.Generic.List<global::Aspire.Cli.NuGetHelper.Commands.PackageInfo> __value_Packages = ((global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
)value).Packages;
114
writer.WriteNumber(PropName_totalHits, ((global::Aspire.Cli.NuGetHelper.Commands.
SearchResult
)value).TotalHits);