2 instantiations of HandshakeRequest
NuGet.Protocol (2)
_generated\66\PluginJsonContext.HandshakeRequest.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::NuGet.Protocol.Plugins.
HandshakeRequest
((global::NuGet.Versioning.SemanticVersion)args[0], (global::NuGet.Versioning.SemanticVersion)args[1]),
Plugins\RequestHandlers\SymmetricHandshake.cs (1)
121
_outboundHandshakeRequest = new
HandshakeRequest
(_protocolVersion, _minimumProtocolVersion);
25 references to HandshakeRequest
NuGet.Protocol (25)
_generated\66\PluginJsonContext.HandshakeRequest.g.cs (16)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
HandshakeRequest
>? _HandshakeRequest;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
HandshakeRequest
> HandshakeRequest
22
get => _HandshakeRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
HandshakeRequest
>)Options.GetTypeInfo(typeof(global::NuGet.Protocol.Plugins.
HandshakeRequest
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
HandshakeRequest
> Create_HandshakeRequest(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Protocol.Plugins.
HandshakeRequest
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.
HandshakeRequest
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.Protocol.Plugins.
HandshakeRequest
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.
HandshakeRequest
).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::NuGet.Versioning.SemanticVersion), typeof(global::NuGet.Versioning.SemanticVersion)}, modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.Protocol.Plugins.
HandshakeRequest
>(options, objectInfo);
58
DeclaringType = typeof(global::NuGet.Protocol.Plugins.
HandshakeRequest
),
60
Getter = static obj => ((global::NuGet.Protocol.Plugins.
HandshakeRequest
)obj).ProtocolVersion,
68
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.
HandshakeRequest
).GetProperty("ProtocolVersion", InstanceMemberBindingFlags, null, typeof(global::NuGet.Versioning.SemanticVersion), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::NuGet.Protocol.Plugins.
HandshakeRequest
),
81
Getter = static obj => ((global::NuGet.Protocol.Plugins.
HandshakeRequest
)obj).MinimumProtocolVersion,
89
AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.
HandshakeRequest
).GetProperty("MinimumProtocolVersion", InstanceMemberBindingFlags, null, typeof(global::NuGet.Versioning.SemanticVersion), global::System.Array.Empty<global::System.Type>(), null),
_generated\95\PluginJsonContext.GetJsonTypeInfo.g.cs (1)
114
if (type == typeof(global::NuGet.Protocol.Plugins.
HandshakeRequest
))
Plugins\MessageConverter.cs (2)
67
[typeof(
HandshakeRequest
)] = (w, p) => JsonSerializer.Serialize(w, (
HandshakeRequest
)p, PluginJsonContext.Default.HandshakeRequest),
Plugins\Messages\HandshakeRequest.cs (1)
31
/// Initializes a new instance of the <see cref="
HandshakeRequest
" /> class.
Plugins\PluginJsonContext.cs (1)
31
[JsonSerializable(typeof(
HandshakeRequest
))]
Plugins\RequestHandlers\SymmetricHandshake.cs (4)
24
private
HandshakeRequest
? _outboundHandshakeRequest;
123
var response = await _connection.SendRequestAndReceiveResponseAsync<
HandshakeRequest
, HandshakeResponse>(
186
var
handshakeRequest = MessageUtilities.DeserializePayload<
HandshakeRequest
>(request);