1 instantiation of ServiceIndexEntryModel
NuGet.Protocol (1)
_generated\5\JsonContext.ServiceIndexEntryModel.g.cs (1)
31
ObjectCreator = () => new global::NuGet.Protocol.Model.
ServiceIndexEntryModel
(),
45 references to ServiceIndexEntryModel
NuGet.Protocol (45)
_generated\16\JsonContext.ListServiceIndexEntryModel.g.cs (12)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>>? _ListServiceIndexEntryModel;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>> ListServiceIndexEntryModel
22
get => _ListServiceIndexEntryModel ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>> Create_ListServiceIndexEntryModel(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>>
31
ObjectCreator = () => new global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>(),
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>, global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>(options, info);
45
private void ListServiceIndexEntryModelSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>? value)
_generated\24\JsonContext.GetJsonTypeInfo.g.cs (2)
42
if (type == typeof(global::NuGet.Protocol.Model.
ServiceIndexEntryModel
))
86
if (type == typeof(global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>))
_generated\5\JsonContext.ServiceIndexEntryModel.g.cs (22)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>? _ServiceIndexEntryModel;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
> ServiceIndexEntryModel
22
get => _ServiceIndexEntryModel ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>)Options.GetTypeInfo(typeof(global::NuGet.Protocol.Model.
ServiceIndexEntryModel
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
> Create_ServiceIndexEntryModel(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
ServiceIndexEntryModel
).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.Protocol.Model.
ServiceIndexEntryModel
>(options, objectInfo);
56
DeclaringType = typeof(global::NuGet.Protocol.Model.
ServiceIndexEntryModel
),
58
Getter = static obj => ((global::NuGet.Protocol.Model.
ServiceIndexEntryModel
)obj).Id,
59
Setter = static (obj, value) => ((global::NuGet.Protocol.Model.
ServiceIndexEntryModel
)obj).Id = value!,
66
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
ServiceIndexEntryModel
).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
76
DeclaringType = typeof(global::NuGet.Protocol.Model.
ServiceIndexEntryModel
),
78
Getter = static obj => ((global::NuGet.Protocol.Model.
ServiceIndexEntryModel
)obj).Type,
79
Setter = static (obj, value) => ((global::NuGet.Protocol.Model.
ServiceIndexEntryModel
)obj).Type = value!,
86
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
ServiceIndexEntryModel
).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string[]), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::NuGet.Protocol.Model.
ServiceIndexEntryModel
),
100
Getter = static obj => ((global::NuGet.Protocol.Model.
ServiceIndexEntryModel
)obj).ClientVersion,
101
Setter = static (obj, value) => ((global::NuGet.Protocol.Model.
ServiceIndexEntryModel
)obj).ClientVersion = value!,
108
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
ServiceIndexEntryModel
).GetProperty("ClientVersion", InstanceMemberBindingFlags, null, typeof(string[]), global::System.Array.Empty<global::System.Type>(), null),
_generated\6\JsonContext.ServiceIndexModel.g.cs (6)
32
ObjectWithParameterizedConstructorCreator = static args => new global::NuGet.Protocol.Model.ServiceIndexModel((string)args[0], (global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>)args[1]),
35
ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.ServiceIndexModel).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>)}, modifiers: null),
72
var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>>
87
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.ServiceIndexModel).GetProperty("Resources", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>), global::System.Array.Empty<global::System.Type>(), null),
90
properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>>(options, info1);
129
ParameterType = typeof(global::System.Collections.Generic.List<global::NuGet.Protocol.Model.
ServiceIndexEntryModel
>),
Model\ServiceIndexModel.cs (2)
17
public List<
ServiceIndexEntryModel
>? Resources { get; }
20
public ServiceIndexModel(string? version, List<
ServiceIndexEntryModel
>? resources)
Resources\ServiceIndexResourceV3.cs (1)
169
foreach (
var
resource in index.Resources)