From 9da65f35a4dbc5ebb260405182aaa0464cdafb5a Mon Sep 17 00:00:00 2001 From: Gert Driesen Date: Tue, 18 Nov 2014 18:08:25 +0000 Subject: [PATCH] Remove redundant this qualifier. --- Renci.SshClient/Renci.SshNet/NetConfClient.cs | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Renci.SshClient/Renci.SshNet/NetConfClient.cs b/Renci.SshClient/Renci.SshNet/NetConfClient.cs index 96d1c9d2..abb2fe91 100644 --- a/Renci.SshClient/Renci.SshNet/NetConfClient.cs +++ b/Renci.SshClient/Renci.SshNet/NetConfClient.cs @@ -10,7 +10,7 @@ namespace Renci.SshNet /// /// Contains operation for working with NetConf server. /// - public partial class NetConfClient : BaseClient + public class NetConfClient : BaseClient { /// /// Holds instance that used to communicate to the server @@ -126,8 +126,8 @@ namespace Renci.SshNet internal NetConfClient(ConnectionInfo connectionInfo, bool ownsConnectionInfo, IServiceFactory serviceFactory) : base(connectionInfo, ownsConnectionInfo, serviceFactory) { - this.OperationTimeout = new TimeSpan(0, 0, 0, 0, -1); - this.AutomaticMessageIdHandling = true; + OperationTimeout = new TimeSpan(0, 0, 0, 0, -1); + AutomaticMessageIdHandling = true; } #endregion @@ -140,7 +140,7 @@ namespace Renci.SshNet /// public XmlDocument ServerCapabilities { - get { return this._netConfSession.ServerCapabilities; } + get { return _netConfSession.ServerCapabilities; } } /// @@ -151,7 +151,7 @@ namespace Renci.SshNet /// public XmlDocument ClientCapabilities { - get { return this._netConfSession.ClientCapabilities; } + get { return _netConfSession.ClientCapabilities; } } /// @@ -172,7 +172,7 @@ namespace Renci.SshNet /// Client is not connected. public XmlDocument SendReceiveRpc(XmlDocument rpc) { - return this._netConfSession.SendReceiveRpc(rpc, this.AutomaticMessageIdHandling); + return _netConfSession.SendReceiveRpc(rpc, AutomaticMessageIdHandling); } /// @@ -196,7 +196,7 @@ namespace Renci.SshNet { var rpc = new XmlDocument(); rpc.LoadXml(""); - return this._netConfSession.SendReceiveRpc(rpc, this.AutomaticMessageIdHandling); + return _netConfSession.SendReceiveRpc(rpc, AutomaticMessageIdHandling); } /// @@ -217,7 +217,7 @@ namespace Renci.SshNet { base.OnDisconnecting(); - this._netConfSession.Disconnect(); + _netConfSession.Disconnect(); } /// @@ -230,10 +230,10 @@ namespace Renci.SshNet if (disposing) { - if (this._netConfSession != null) + if (_netConfSession != null) { - this._netConfSession.Dispose(); - this._netConfSession = null; + _netConfSession.Dispose(); + _netConfSession = null; } } }