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