2 instantiations of RegistrationPage
NuGet.Protocol (2)
_generated\110\JsonContext.RegistrationPage.g.cs (1)
31
ObjectCreator = () => new global::NuGet.Protocol.Model.
RegistrationPage
(),
_generated\9\PackageSearchJsonContext.RegistrationPage.g.cs (1)
31
ObjectCreator = () => new global::NuGet.Protocol.Model.
RegistrationPage
(),
104 references to RegistrationPage
NuGet.Protocol (104)
_generated\108\JsonContext.RegistrationIndex.g.cs (3)
53
var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>>
68
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.RegistrationIndex).GetProperty("Items", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>), global::System.Array.Empty<global::System.Type>(), null),
71
properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>>(options, info0);
_generated\110\JsonContext.RegistrationPage.g.cs (26)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
RegistrationPage
>? _RegistrationPage;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
RegistrationPage
> RegistrationPage
22
get => _RegistrationPage ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
RegistrationPage
>)Options.GetTypeInfo(typeof(global::NuGet.Protocol.Model.
RegistrationPage
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
RegistrationPage
> Create_RegistrationPage(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Protocol.Model.
RegistrationPage
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
RegistrationPage
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.Protocol.Model.
RegistrationPage
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
RegistrationPage
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.Protocol.Model.
RegistrationPage
>(options, objectInfo);
58
DeclaringType = typeof(global::NuGet.Protocol.Model.
RegistrationPage
),
60
Getter = static obj => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Url,
61
Setter = static (obj, value) => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Url = value!,
68
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
RegistrationPage
).GetProperty("Url", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
80
DeclaringType = typeof(global::NuGet.Protocol.Model.
RegistrationPage
),
82
Getter = static obj => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Items,
83
Setter = static (obj, value) => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Items = value!,
90
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
RegistrationPage
).GetProperty("Items", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::NuGet.Protocol.Model.RegistrationLeafItem>), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::NuGet.Protocol.Model.
RegistrationPage
),
102
Getter = static obj => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Lower,
103
Setter = static (obj, value) => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Lower = value!,
110
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
RegistrationPage
).GetProperty("Lower", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
122
DeclaringType = typeof(global::NuGet.Protocol.Model.
RegistrationPage
),
124
Getter = static obj => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Upper,
125
Setter = static (obj, value) => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Upper = value!,
132
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
RegistrationPage
).GetProperty("Upper", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
_generated\130\JsonContext.ListRegistrationPage.g.cs (11)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>>? _ListRegistrationPage;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>> ListRegistrationPage
22
get => _ListRegistrationPage ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>> Create_ListRegistrationPage(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>>
31
ObjectCreator = () => new global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>(),
37
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>, global::NuGet.Protocol.Model.
RegistrationPage
>(options, info);
_generated\143\JsonContext.GetJsonTypeInfo.g.cs (2)
74
if (type == typeof(global::NuGet.Protocol.Model.
RegistrationPage
))
154
if (type == typeof(global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>))
_generated\25\PackageSearchJsonContext.ListRegistrationPage.g.cs (11)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>>? _ListRegistrationPage;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>> ListRegistrationPage
22
get => _ListRegistrationPage ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>> Create_ListRegistrationPage(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>>
31
ObjectCreator = () => new global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>(),
37
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>, global::NuGet.Protocol.Model.
RegistrationPage
>(options, info);
_generated\36\PackageSearchJsonContext.GetJsonTypeInfo.g.cs (2)
58
if (type == typeof(global::NuGet.Protocol.Model.
RegistrationPage
))
122
if (type == typeof(global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>))
_generated\7\PackageSearchJsonContext.RegistrationIndex.g.cs (3)
53
var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>>
68
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.RegistrationIndex).GetProperty("Items", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>), global::System.Array.Empty<global::System.Type>(), null),
71
properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
RegistrationPage
>>(options, info0);
_generated\9\PackageSearchJsonContext.RegistrationPage.g.cs (26)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
RegistrationPage
>? _RegistrationPage;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
RegistrationPage
> RegistrationPage
22
get => _RegistrationPage ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
RegistrationPage
>)Options.GetTypeInfo(typeof(global::NuGet.Protocol.Model.
RegistrationPage
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
RegistrationPage
> Create_RegistrationPage(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Protocol.Model.
RegistrationPage
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
RegistrationPage
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.Protocol.Model.
RegistrationPage
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
RegistrationPage
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.Protocol.Model.
RegistrationPage
>(options, objectInfo);
58
DeclaringType = typeof(global::NuGet.Protocol.Model.
RegistrationPage
),
60
Getter = static obj => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Url,
61
Setter = static (obj, value) => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Url = value!,
68
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
RegistrationPage
).GetProperty("Url", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
80
DeclaringType = typeof(global::NuGet.Protocol.Model.
RegistrationPage
),
82
Getter = static obj => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Items,
83
Setter = static (obj, value) => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Items = value!,
90
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
RegistrationPage
).GetProperty("Items", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::NuGet.Protocol.Model.RegistrationLeafItem>), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::NuGet.Protocol.Model.
RegistrationPage
),
102
Getter = static obj => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Lower,
103
Setter = static (obj, value) => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Lower = value!,
110
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
RegistrationPage
).GetProperty("Lower", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
122
DeclaringType = typeof(global::NuGet.Protocol.Model.
RegistrationPage
),
124
Getter = static obj => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Upper,
125
Setter = static (obj, value) => ((global::NuGet.Protocol.Model.
RegistrationPage
)obj).Upper = value!,
132
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
RegistrationPage
).GetProperty("Upper", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Converters\PackageSearchJsonContext.cs (1)
19
[JsonSerializable(typeof(
RegistrationPage
))]
DependencyInfo\RegistrationUtility.cs (7)
116
internal async static Task<IReadOnlyList<
RegistrationPage
?>> LoadRangesAsItemsAsync(
144
return Array.Empty<
RegistrationPage
?>();
147
IList<Task<
RegistrationPage
?>> rangeTasks = new List<Task<
RegistrationPage
?>>();
149
foreach (
RegistrationPage
page in index.Items)
168
httpSourceResult => DeserializeStreamAsync<
RegistrationPage
>(httpSourceResult.Stream, token),
174
rangeTasks.Add(Task.FromResult<
RegistrationPage
?>(page));
DependencyInfo\ResolverMetadataClient.cs (2)
102
IReadOnlyList<
RegistrationPage
?> pages = await RegistrationUtility.LoadRangesAsItemsAsync(httpClient, registrationUri, packageId, range, cacheContext, log, token);
107
RegistrationPage
? page = pages[i];
Model\RegistrationIndex.cs (1)
17
public List<
RegistrationPage
>? Items { get; set; }
Model\RegistrationPage.cs (1)
26
/// fetch another <see cref="
RegistrationPage
"/> instance with the <see cref="Items"/> property filled in.
Resources\PackageMetadataResourceV3.cs (5)
134
foreach (
var
registrationPage in registrationIndex.Items)
149
var
leafRegistrationPage = await GetRegistratioIndexPageAsync(_client, rangeUri, packageId, lower, upper, httpSourceCacheContext, log, token);
265
private Task<
RegistrationPage
> GetRegistratioIndexPageAsync(
284
httpSourceResult => DeserializeStreamDataAsync<
RegistrationPage
>(httpSourceResult.Stream, token),
300
RegistrationPage
registrationPage,
Resources\RegistrationResourceV3.cs (2)
196
IReadOnlyList<
RegistrationPage
> ranges = await RegistrationUtility.LoadRangesAsItemsAsync(_client, registrationUri, packageId, range, cacheContext, log, token);
198
foreach (
RegistrationPage
page in ranges.NoAllocEnumerate())
Utility\JsonContext.cs (1)
25
[JsonSerializable(typeof(
RegistrationPage
))]