1 instantiation of GetPackageHashResponse
NuGet.Protocol (1)
_generated\61\PluginJsonContext.GetPackageHashResponse.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::NuGet.Protocol.Plugins.GetPackageHashResponse((global::NuGet.Protocol.Plugins.MessageResponseCode)args[0], (string)args[1]),
26 references to GetPackageHashResponse
NuGet.Protocol (26)
_generated\61\PluginJsonContext.GetPackageHashResponse.g.cs (19)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.GetPackageHashResponse>? _GetPackageHashResponse; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.GetPackageHashResponse> GetPackageHashResponse 22get => _GetPackageHashResponse ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.GetPackageHashResponse>)Options.GetTypeInfo(typeof(global::NuGet.Protocol.Plugins.GetPackageHashResponse)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.GetPackageHashResponse> Create_GetPackageHashResponse(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Protocol.Plugins.GetPackageHashResponse>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.GetPackageHashResponse> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.Protocol.Plugins.GetPackageHashResponse> 35ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.GetPackageHashResponse).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::NuGet.Protocol.Plugins.MessageResponseCode), typeof(string)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.Protocol.Plugins.GetPackageHashResponse>(options, objectInfo); 58DeclaringType = typeof(global::NuGet.Protocol.Plugins.GetPackageHashResponse), 60Getter = static obj => ((global::NuGet.Protocol.Plugins.GetPackageHashResponse)obj).Hash, 68AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.GetPackageHashResponse).GetProperty("Hash", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::NuGet.Protocol.Plugins.GetPackageHashResponse), 80Getter = static obj => ((global::NuGet.Protocol.Plugins.GetPackageHashResponse)obj).ResponseCode, 88AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.GetPackageHashResponse).GetProperty("ResponseCode", InstanceMemberBindingFlags, null, typeof(global::NuGet.Protocol.Plugins.MessageResponseCode), global::System.Array.Empty<global::System.Type>(), null), 98private void GetPackageHashResponseSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::NuGet.Protocol.Plugins.GetPackageHashResponse? value) 108string __value_Hash = ((global::NuGet.Protocol.Plugins.GetPackageHashResponse)value).Hash; 114global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::NuGet.Protocol.Plugins.GetPackageHashResponse)value).ResponseCode, MessageResponseCode);
_generated\95\PluginJsonContext.GetJsonTypeInfo.g.cs (1)
94if (type == typeof(global::NuGet.Protocol.Plugins.GetPackageHashResponse))
Plugins\MessageConverter.cs (2)
94[typeof(GetPackageHashResponse)] = (w, p) => JsonSerializer.Serialize(w, (GetPackageHashResponse)p, PluginJsonContext.Default.GetPackageHashResponse),
Plugins\Messages\GetPackageHashResponse.cs (1)
29/// Initializes a new <see cref="GetPackageHashResponse" /> class.
Plugins\PluginJsonContext.cs (1)
26[JsonSerializable(typeof(GetPackageHashResponse))]
Plugins\PluginPackageDownloader.cs (2)
202var response = await _plugin.Connection.SendRequestAndReceiveResponseAsync<GetPackageHashRequest, GetPackageHashResponse>(