Pārlūkot izejas kodu

Change variable name per review request

Change the name of the variable from requestCode to request
release/3.x.x
Jim Schaad pirms 5 gadiem
vecāks
revīzija
7dde2f1f4c
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +3
    -3
      Source/MQTTnet/Adapter/MqttConnectingFailedException.cs

+ 3
- 3
Source/MQTTnet/Adapter/MqttConnectingFailedException.cs Parādīt failu

@@ -5,10 +5,10 @@ namespace MQTTnet.Adapter
{
public class MqttConnectingFailedException : MqttCommunicationException
{
public MqttConnectingFailedException(MqttClientAuthenticateResult resultCode)
: base($"Connecting with MQTT server failed ({resultCode.ResultCode.ToString()}).")
public MqttConnectingFailedException(MqttClientAuthenticateResult result)
: base($"Connecting with MQTT server failed ({result.ResultCode.ToString()}).")
{
Result = resultCode;
Result = result;
}

public MqttClientAuthenticateResult Result { get; }


Notiek ielāde…
Atcelt
Saglabāt