From 0ebd7b4394f4e3a2688a9cec4c6f824715b368ca Mon Sep 17 00:00:00 2001 From: Carl Date: Mon, 16 Apr 2018 16:10:49 +1200 Subject: [PATCH] Rename ToLimit to Limited --- src/Ether.Network/Client/NetClient.cs | 2 +- src/Ether.Network/Client/NetClientConfiguration.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Ether.Network/Client/NetClient.cs b/src/Ether.Network/Client/NetClient.cs index d0d04fc..7b56164 100644 --- a/src/Ether.Network/Client/NetClient.cs +++ b/src/Ether.Network/Client/NetClient.cs @@ -87,7 +87,7 @@ public void Connect() if (!IsConnected) { - if (this.Configuration.RetryMode == ClientRetryOptions.ToLimit) + if (this.Configuration.RetryMode == ClientRetryOptions.Limited) { int count = 0; diff --git a/src/Ether.Network/Client/NetClientConfiguration.cs b/src/Ether.Network/Client/NetClientConfiguration.cs index ad643f5..71eb1e6 100644 --- a/src/Ether.Network/Client/NetClientConfiguration.cs +++ b/src/Ether.Network/Client/NetClientConfiguration.cs @@ -15,9 +15,9 @@ public enum ClientRetryOptions OneTime = 0, /// - /// The client will try to connect up to the amount of times specified by + /// The client will try to connect a specific amount of times /// - ToLimit = 1, + Limited = 1, /// /// The client will try infinitely to connect to the server @@ -76,7 +76,7 @@ public int TimeOut /// /// Gets or sets how the client handles failed connections. - /// When using set + /// When using set /// public ClientRetryOptions RetryMode {