Skip to content

Commit 052e98a

Browse files
committed
Rename NAME to Name.
1 parent d795050 commit 052e98a

17 files changed

+36
-36
lines changed

src/Renci.SshNet/Messages/Connection/ChannelOpen/ChannelOpenMessage.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ protected override void LoadData()
115115

116116
switch (channelName)
117117
{
118-
case SessionChannelOpenInfo.NAME:
118+
case SessionChannelOpenInfo.Name:
119119
Info = new SessionChannelOpenInfo(_infoBytes);
120120
break;
121-
case X11ChannelOpenInfo.NAME:
121+
case X11ChannelOpenInfo.Name:
122122
Info = new X11ChannelOpenInfo(_infoBytes);
123123
break;
124124
case DirectTcpipChannelInfo.NAME:

src/Renci.SshNet/Messages/Connection/ChannelOpen/SessionChannelOpenInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ internal class SessionChannelOpenInfo : ChannelOpenInfo
1010
/// <summary>
1111
/// Specifies channel open type
1212
/// </summary>
13-
public const string NAME = "session";
13+
public const string Name = "session";
1414

1515
/// <summary>
1616
/// Gets the type of the channel to open.
@@ -20,7 +20,7 @@ internal class SessionChannelOpenInfo : ChannelOpenInfo
2020
/// </value>
2121
public override string ChannelType
2222
{
23-
get { return NAME; }
23+
get { return Name; }
2424
}
2525

2626
/// <summary>

src/Renci.SshNet/Messages/Connection/ChannelOpen/X11ChannelOpenInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ internal class X11ChannelOpenInfo : ChannelOpenInfo
1212
/// <summary>
1313
/// Specifies channel open type
1414
/// </summary>
15-
public const string NAME = "x11";
15+
public const string Name = "x11";
1616

1717
/// <summary>
1818
/// Gets the type of the channel to open.
@@ -22,7 +22,7 @@ internal class X11ChannelOpenInfo : ChannelOpenInfo
2222
/// </value>
2323
public override string ChannelType
2424
{
25-
get { return NAME; }
25+
get { return Name; }
2626
}
2727

2828
/// <summary>

src/Renci.SshNet/Messages/Connection/ChannelRequest/BreakRequestInfo.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ internal class BreakRequestInfo : RequestInfo
1010
/// <summary>
1111
/// Channel request name
1212
/// </summary>
13-
public const string NAME = "break";
13+
public const string Name = "break";
1414

1515
/// <summary>
1616
/// Gets the name of the request.
@@ -20,13 +20,13 @@ internal class BreakRequestInfo : RequestInfo
2020
/// </value>
2121
public override string RequestName
2222
{
23-
get { return NAME; }
23+
get { return Name; }
2424
}
2525

2626
/// <summary>
2727
/// Gets break length in milliseconds.
2828
/// </summary>
29-
public UInt32 BreakLength { get; private set; }
29+
public uint BreakLength { get; private set; }
3030

3131
/// <summary>
3232
/// Gets the size of the message in bytes.
@@ -56,7 +56,7 @@ public BreakRequestInfo()
5656
/// Initializes a new instance of the <see cref="ExecRequestInfo"/> class.
5757
/// </summary>
5858
/// <param name="breakLength">Length of the break.</param>
59-
public BreakRequestInfo(UInt32 breakLength)
59+
public BreakRequestInfo(uint breakLength)
6060
: this()
6161
{
6262
BreakLength = breakLength;

src/Renci.SshNet/Messages/Connection/ChannelRequest/EndOfWriteRequestInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class EndOfWriteRequestInfo : RequestInfo
88
/// <summary>
99
/// Channel request name
1010
/// </summary>
11-
public const string NAME = "[email protected]";
11+
public const string Name = "[email protected]";
1212

1313
/// <summary>
1414
/// Gets the name of the request.
@@ -18,7 +18,7 @@ public class EndOfWriteRequestInfo : RequestInfo
1818
/// </value>
1919
public override string RequestName
2020
{
21-
get { return NAME; }
21+
get { return Name; }
2222
}
2323

2424
/// <summary>

src/Renci.SshNet/Messages/Connection/ChannelRequest/EnvironmentVariableRequestInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ internal class EnvironmentVariableRequestInfo : RequestInfo
1111
/// <summary>
1212
/// Channel request name
1313
/// </summary>
14-
public const string NAME = "env";
14+
public const string Name = "env";
1515

1616
/// <summary>
1717
/// Gets the name of the request.
@@ -21,7 +21,7 @@ internal class EnvironmentVariableRequestInfo : RequestInfo
2121
/// </value>
2222
public override string RequestName
2323
{
24-
get { return NAME; }
24+
get { return Name; }
2525
}
2626

2727
/// <summary>

src/Renci.SshNet/Messages/Connection/ChannelRequest/ExecRequestInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ internal class ExecRequestInfo : RequestInfo
1313
/// <summary>
1414
/// Channel request name
1515
/// </summary>
16-
public const string NAME = "exec";
16+
public const string Name = "exec";
1717

1818
/// <summary>
1919
/// Gets the name of the request.
@@ -23,7 +23,7 @@ internal class ExecRequestInfo : RequestInfo
2323
/// </value>
2424
public override string RequestName
2525
{
26-
get { return NAME; }
26+
get { return Name; }
2727
}
2828

2929
/// <summary>

src/Renci.SshNet/Messages/Connection/ChannelRequest/ExitSignalRequestInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ internal class ExitSignalRequestInfo : RequestInfo
1212
/// <summary>
1313
/// Channel request name
1414
/// </summary>
15-
public const string NAME = "exit-signal";
15+
public const string Name = "exit-signal";
1616

1717
/// <summary>
1818
/// Gets the name of the request.
@@ -22,7 +22,7 @@ internal class ExitSignalRequestInfo : RequestInfo
2222
/// </value>
2323
public override string RequestName
2424
{
25-
get { return NAME; }
25+
get { return Name; }
2626
}
2727

2828
/// <summary>

src/Renci.SshNet/Messages/Connection/ChannelRequest/ExitStatusRequestInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ internal class ExitStatusRequestInfo : RequestInfo
88
/// <summary>
99
/// Channel request name.
1010
/// </summary>
11-
public const string NAME = "exit-status";
11+
public const string Name = "exit-status";
1212

1313
/// <summary>
1414
/// Gets the name of the request.
@@ -18,7 +18,7 @@ internal class ExitStatusRequestInfo : RequestInfo
1818
/// </value>
1919
public override string RequestName
2020
{
21-
get { return NAME; }
21+
get { return Name; }
2222
}
2323

2424
/// <summary>

src/Renci.SshNet/Messages/Connection/ChannelRequest/KeepAliveRequestInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class KeepAliveRequestInfo : RequestInfo
88
/// <summary>
99
/// Channel request name
1010
/// </summary>
11-
public const string NAME = "[email protected]";
11+
public const string Name = "[email protected]";
1212

1313
/// <summary>
1414
/// Gets the name of the request.
@@ -18,7 +18,7 @@ public class KeepAliveRequestInfo : RequestInfo
1818
/// </value>
1919
public override string RequestName
2020
{
21-
get { return NAME; }
21+
get { return Name; }
2222
}
2323

2424
/// <summary>

0 commit comments

Comments
 (0)