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