3 instantiations of PrefetchPackageRequest
NuGet.Protocol (3)
_generated\77\PluginJsonContext.PrefetchPackageRequest.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::NuGet.Protocol.Plugins.PrefetchPackageRequest((string)args[0], (string)args[1], (string)args[2]),
RemoteRepositories\PluginFindPackageByIdResource.cs (1)
285new PrefetchPackageRequest(
Resources\DownloadResourcePlugin.cs (1)
119new PrefetchPackageRequest(_packageSource.Source, identity.Id, identity.Version.ToNormalizedString()),
30 references to PrefetchPackageRequest
NuGet.Protocol (30)
_generated\77\PluginJsonContext.PrefetchPackageRequest.g.cs (23)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.PrefetchPackageRequest>? _PrefetchPackageRequest; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.PrefetchPackageRequest> PrefetchPackageRequest 22get => _PrefetchPackageRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.PrefetchPackageRequest>)Options.GetTypeInfo(typeof(global::NuGet.Protocol.Plugins.PrefetchPackageRequest)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.PrefetchPackageRequest> Create_PrefetchPackageRequest(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Protocol.Plugins.PrefetchPackageRequest>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.PrefetchPackageRequest> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.Protocol.Plugins.PrefetchPackageRequest> 35ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.PrefetchPackageRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string), typeof(string)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.Protocol.Plugins.PrefetchPackageRequest>(options, objectInfo); 58DeclaringType = typeof(global::NuGet.Protocol.Plugins.PrefetchPackageRequest), 60Getter = static obj => ((global::NuGet.Protocol.Plugins.PrefetchPackageRequest)obj).PackageId, 68AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.PrefetchPackageRequest).GetProperty("PackageId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::NuGet.Protocol.Plugins.PrefetchPackageRequest), 81Getter = static obj => ((global::NuGet.Protocol.Plugins.PrefetchPackageRequest)obj).PackageSourceRepository, 89AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.PrefetchPackageRequest).GetProperty("PackageSourceRepository", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::NuGet.Protocol.Plugins.PrefetchPackageRequest), 102Getter = static obj => ((global::NuGet.Protocol.Plugins.PrefetchPackageRequest)obj).PackageVersion, 110AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.PrefetchPackageRequest).GetProperty("PackageVersion", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 121private void PrefetchPackageRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::NuGet.Protocol.Plugins.PrefetchPackageRequest? value) 131string __value_PackageId = ((global::NuGet.Protocol.Plugins.PrefetchPackageRequest)value).PackageId; 136string __value_PackageSourceRepository = ((global::NuGet.Protocol.Plugins.PrefetchPackageRequest)value).PackageSourceRepository; 141string __value_PackageVersion = ((global::NuGet.Protocol.Plugins.PrefetchPackageRequest)value).PackageVersion;
_generated\95\PluginJsonContext.GetJsonTypeInfo.g.cs (1)
158if (type == typeof(global::NuGet.Protocol.Plugins.PrefetchPackageRequest))
Plugins\MessageConverter.cs (2)
97[typeof(PrefetchPackageRequest)] = (w, p) => JsonSerializer.Serialize(w, (PrefetchPackageRequest)p, PluginJsonContext.Default.PrefetchPackageRequest),
Plugins\Messages\PrefetchPackageRequest.cs (1)
33/// Initializes a new <see cref="PrefetchPackageRequest" /> class.
Plugins\PluginJsonContext.cs (1)
39[JsonSerializable(typeof(PrefetchPackageRequest))]
RemoteRepositories\PluginFindPackageByIdResource.cs (1)
283var response = await _plugin.Connection.SendRequestAndReceiveResponseAsync<PrefetchPackageRequest, PrefetchPackageResponse>(
Resources\DownloadResourcePlugin.cs (1)
117var response = await _plugin.Connection.SendRequestAndReceiveResponseAsync<PrefetchPackageRequest, PrefetchPackageResponse>(