2 instantiations of HandshakeRequest
NuGet.Protocol (2)
_generated\66\PluginJsonContext.HandshakeRequest.g.cs (1)
32ObjectWithParameterizedConstructorCreator = 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)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.HandshakeRequest>? _HandshakeRequest; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.HandshakeRequest> HandshakeRequest 22get => _HandshakeRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.HandshakeRequest>)Options.GetTypeInfo(typeof(global::NuGet.Protocol.Plugins.HandshakeRequest)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.HandshakeRequest> Create_HandshakeRequest(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::NuGet.Protocol.Plugins.HandshakeRequest>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::NuGet.Protocol.Plugins.HandshakeRequest> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::NuGet.Protocol.Plugins.HandshakeRequest> 35ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.HandshakeRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::NuGet.Versioning.SemanticVersion), typeof(global::NuGet.Versioning.SemanticVersion)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::NuGet.Protocol.Plugins.HandshakeRequest>(options, objectInfo); 58DeclaringType = typeof(global::NuGet.Protocol.Plugins.HandshakeRequest), 60Getter = static obj => ((global::NuGet.Protocol.Plugins.HandshakeRequest)obj).ProtocolVersion, 68AttributeProviderFactory = static () => typeof(global::NuGet.Protocol.Plugins.HandshakeRequest).GetProperty("ProtocolVersion", InstanceMemberBindingFlags, null, typeof(global::NuGet.Versioning.SemanticVersion), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::NuGet.Protocol.Plugins.HandshakeRequest), 81Getter = static obj => ((global::NuGet.Protocol.Plugins.HandshakeRequest)obj).MinimumProtocolVersion, 89AttributeProviderFactory = 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)
114if (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)
24private HandshakeRequest? _outboundHandshakeRequest; 123var response = await _connection.SendRequestAndReceiveResponseAsync<HandshakeRequest, HandshakeResponse>( 186var handshakeRequest = MessageUtilities.DeserializePayload<HandshakeRequest>(request);