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