1 instantiation of ServiceIndexModel
NuGet.Protocol (1)
_generated\6\JsonContext.ServiceIndexModel.g.cs (1)
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]),
25 references to ServiceIndexModel
NuGet.Protocol (25)
_generated\24\JsonContext.GetJsonTypeInfo.g.cs (1)
46
if (type == typeof(global::NuGet.Protocol.Model.
ServiceIndexModel
))
_generated\6\JsonContext.ServiceIndexModel.g.cs (19)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
ServiceIndexModel
>? _ServiceIndexModel;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
ServiceIndexModel
> ServiceIndexModel
22
get => _ServiceIndexModel ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
ServiceIndexModel
>)Options.GetTypeInfo(typeof(global::NuGet.Protocol.Model.
ServiceIndexModel
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
ServiceIndexModel
> Create_ServiceIndexModel(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Protocol.Model.
ServiceIndexModel
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Model.
ServiceIndexModel
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.Protocol.Model.
ServiceIndexModel
>
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),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.Protocol.Model.
ServiceIndexModel
>(options, objectInfo);
56
DeclaringType = typeof(global::NuGet.Protocol.Model.
ServiceIndexModel
),
58
Getter = static obj => ((global::NuGet.Protocol.Model.
ServiceIndexModel
)obj).Version,
66
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Model.
ServiceIndexModel
).GetProperty("Version", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
77
DeclaringType = typeof(global::NuGet.Protocol.Model.
ServiceIndexModel
),
79
Getter = static obj => ((global::NuGet.Protocol.Model.
ServiceIndexModel
)obj).Resources,
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),
97
private void ServiceIndexModelSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::NuGet.Protocol.Model.
ServiceIndexModel
? value)
107
writer.WriteString(PropName_version, ((global::NuGet.Protocol.Model.
ServiceIndexModel
)value).Version);
109
ListServiceIndexEntryModelSerializeHandler(writer, ((global::NuGet.Protocol.Model.
ServiceIndexModel
)value).Resources);
Providers\ServiceIndexResourceV3Provider.cs (1)
211
ServiceIndexModel
index;
Resources\ServiceIndexResourceV3.cs (3)
27
private readonly
ServiceIndexModel
_model;
42
internal ServiceIndexResourceV3(
ServiceIndexModel
model, DateTime requestTime, PackageSource packageSource)
160
private static IDictionary<string, List<ServiceIndexEntry>> MakeLookup(
ServiceIndexModel
index, PackageSource packageSource)
Utility\JsonContext.cs (1)
20
[JsonSerializable(typeof(
ServiceIndexModel
))]