2 instantiations of GetPackageHashRequest
NuGet.Protocol (2)
_generated\60\PluginJsonContext.GetPackageHashRequest.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::NuGet.Protocol.Plugins.GetPackageHashRequest((string)args[0], (string)args[1], (string)args[2], (string)args[3]),
Plugins\PluginPackageDownloader.cs (1)
196var request = new GetPackageHashRequest(
34 references to GetPackageHashRequest
NuGet.Protocol (34)
_generated\60\PluginJsonContext.GetPackageHashRequest.g.cs (27)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.GetPackageHashRequest>? _GetPackageHashRequest; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.GetPackageHashRequest> GetPackageHashRequest 22get => _GetPackageHashRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.GetPackageHashRequest>)Options.GetTypeInfo(typeof(global::NuGet.Protocol.Plugins.GetPackageHashRequest)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.GetPackageHashRequest> Create_GetPackageHashRequest(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Protocol.Plugins.GetPackageHashRequest>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.GetPackageHashRequest> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.Protocol.Plugins.GetPackageHashRequest> 35ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.GetPackageHashRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string), typeof(string), typeof(string)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.Protocol.Plugins.GetPackageHashRequest>(options, objectInfo); 58DeclaringType = typeof(global::NuGet.Protocol.Plugins.GetPackageHashRequest), 60Getter = static obj => ((global::NuGet.Protocol.Plugins.GetPackageHashRequest)obj).HashAlgorithm, 68AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.GetPackageHashRequest).GetProperty("HashAlgorithm", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::NuGet.Protocol.Plugins.GetPackageHashRequest), 80Getter = static obj => ((global::NuGet.Protocol.Plugins.GetPackageHashRequest)obj).PackageId, 88AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.GetPackageHashRequest).GetProperty("PackageId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::NuGet.Protocol.Plugins.GetPackageHashRequest), 100Getter = static obj => ((global::NuGet.Protocol.Plugins.GetPackageHashRequest)obj).PackageSourceRepository, 108AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.GetPackageHashRequest).GetProperty("PackageSourceRepository", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 118DeclaringType = typeof(global::NuGet.Protocol.Plugins.GetPackageHashRequest), 120Getter = static obj => ((global::NuGet.Protocol.Plugins.GetPackageHashRequest)obj).PackageVersion, 128AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.GetPackageHashRequest).GetProperty("PackageVersion", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 138private void GetPackageHashRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::NuGet.Protocol.Plugins.GetPackageHashRequest? value) 148string __value_HashAlgorithm = ((global::NuGet.Protocol.Plugins.GetPackageHashRequest)value).HashAlgorithm; 153string __value_PackageId = ((global::NuGet.Protocol.Plugins.GetPackageHashRequest)value).PackageId; 158string __value_PackageSourceRepository = ((global::NuGet.Protocol.Plugins.GetPackageHashRequest)value).PackageSourceRepository; 163string __value_PackageVersion = ((global::NuGet.Protocol.Plugins.GetPackageHashRequest)value).PackageVersion;
_generated\95\PluginJsonContext.GetJsonTypeInfo.g.cs (1)
90if (type == typeof(global::NuGet.Protocol.Plugins.GetPackageHashRequest))
Plugins\MessageConverter.cs (2)
93[typeof(GetPackageHashRequest)] = (w, p) => JsonSerializer.Serialize(w, (GetPackageHashRequest)p, PluginJsonContext.Default.GetPackageHashRequest),
Plugins\Messages\GetPackageHashRequest.cs (1)
41/// Initializes a new <see cref="GetPackageHashRequest" /> class.
Plugins\PluginJsonContext.cs (1)
25[JsonSerializable(typeof(GetPackageHashRequest))]
Plugins\PluginPackageDownloader.cs (2)
196var request = new GetPackageHashRequest( 202var response = await _plugin.Connection.SendRequestAndReceiveResponseAsync<GetPackageHashRequest, GetPackageHashResponse>(