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