mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-10 17:25:51 +00:00
Rename NAME to Name.
This commit is contained in:
@@ -115,10 +115,10 @@ namespace Renci.SshNet.Messages.Connection
|
||||
|
||||
switch (channelName)
|
||||
{
|
||||
case SessionChannelOpenInfo.NAME:
|
||||
case SessionChannelOpenInfo.Name:
|
||||
Info = new SessionChannelOpenInfo(_infoBytes);
|
||||
break;
|
||||
case X11ChannelOpenInfo.NAME:
|
||||
case X11ChannelOpenInfo.Name:
|
||||
Info = new X11ChannelOpenInfo(_infoBytes);
|
||||
break;
|
||||
case DirectTcpipChannelInfo.NAME:
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Renci.SshNet.Messages.Connection
|
||||
/// <summary>
|
||||
/// Specifies channel open type
|
||||
/// </summary>
|
||||
public const string NAME = "session";
|
||||
public const string Name = "session";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the type of the channel to open.
|
||||
@@ -20,7 +20,7 @@ namespace Renci.SshNet.Messages.Connection
|
||||
/// </value>
|
||||
public override string ChannelType
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Renci.SshNet.Messages.Connection
|
||||
/// <summary>
|
||||
/// Specifies channel open type
|
||||
/// </summary>
|
||||
public const string NAME = "x11";
|
||||
public const string Name = "x11";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the type of the channel to open.
|
||||
@@ -22,7 +22,7 @@ namespace Renci.SshNet.Messages.Connection
|
||||
/// </value>
|
||||
public override string ChannelType
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Renci.SshNet.Messages.Connection
|
||||
/// <summary>
|
||||
/// Channel request name
|
||||
/// </summary>
|
||||
public const string NAME = "break";
|
||||
public const string Name = "break";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the request.
|
||||
@@ -20,13 +20,13 @@ namespace Renci.SshNet.Messages.Connection
|
||||
/// </value>
|
||||
public override string RequestName
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets break length in milliseconds.
|
||||
/// </summary>
|
||||
public UInt32 BreakLength { get; private set; }
|
||||
public uint BreakLength { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the size of the message in bytes.
|
||||
@@ -56,7 +56,7 @@ namespace Renci.SshNet.Messages.Connection
|
||||
/// Initializes a new instance of the <see cref="ExecRequestInfo"/> class.
|
||||
/// </summary>
|
||||
/// <param name="breakLength">Length of the break.</param>
|
||||
public BreakRequestInfo(UInt32 breakLength)
|
||||
public BreakRequestInfo(uint breakLength)
|
||||
: this()
|
||||
{
|
||||
BreakLength = breakLength;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
/// <summary>
|
||||
/// Channel request name
|
||||
/// </summary>
|
||||
public const string NAME = "eow@openssh.com";
|
||||
public const string Name = "eow@openssh.com";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the request.
|
||||
@@ -18,7 +18,7 @@
|
||||
/// </value>
|
||||
public override string RequestName
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
+2
-2
@@ -11,7 +11,7 @@
|
||||
/// <summary>
|
||||
/// Channel request name
|
||||
/// </summary>
|
||||
public const string NAME = "env";
|
||||
public const string Name = "env";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the request.
|
||||
@@ -21,7 +21,7 @@
|
||||
/// </value>
|
||||
public override string RequestName
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Renci.SshNet.Messages.Connection
|
||||
/// <summary>
|
||||
/// Channel request name
|
||||
/// </summary>
|
||||
public const string NAME = "exec";
|
||||
public const string Name = "exec";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the request.
|
||||
@@ -23,7 +23,7 @@ namespace Renci.SshNet.Messages.Connection
|
||||
/// </value>
|
||||
public override string RequestName
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
/// <summary>
|
||||
/// Channel request name
|
||||
/// </summary>
|
||||
public const string NAME = "exit-signal";
|
||||
public const string Name = "exit-signal";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the request.
|
||||
@@ -22,7 +22,7 @@
|
||||
/// </value>
|
||||
public override string RequestName
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
/// <summary>
|
||||
/// Channel request name.
|
||||
/// </summary>
|
||||
public const string NAME = "exit-status";
|
||||
public const string Name = "exit-status";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the request.
|
||||
@@ -18,7 +18,7 @@
|
||||
/// </value>
|
||||
public override string RequestName
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
/// <summary>
|
||||
/// Channel request name
|
||||
/// </summary>
|
||||
public const string NAME = "keepalive@openssh.com";
|
||||
public const string Name = "keepalive@openssh.com";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the request.
|
||||
@@ -18,7 +18,7 @@
|
||||
/// </value>
|
||||
public override string RequestName
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Renci.SshNet.Messages.Connection
|
||||
/// <summary>
|
||||
/// Channel request name
|
||||
/// </summary>
|
||||
public const string NAME = "pty-req";
|
||||
public const string Name = "pty-req";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the request.
|
||||
@@ -21,7 +21,7 @@ namespace Renci.SshNet.Messages.Connection
|
||||
/// </value>
|
||||
public override string RequestName
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
/// <summary>
|
||||
/// Channel request name
|
||||
/// </summary>
|
||||
public const string NAME = "shell";
|
||||
public const string Name = "shell";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the request.
|
||||
@@ -18,7 +18,7 @@
|
||||
/// </value>
|
||||
public override string RequestName
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/// <summary>
|
||||
/// Channel request name.
|
||||
/// </summary>
|
||||
public const string NAME = "signal";
|
||||
public const string Name = "signal";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the request.
|
||||
@@ -20,7 +20,7 @@
|
||||
/// </value>
|
||||
public override string RequestName
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/// <summary>
|
||||
/// Channel request name
|
||||
/// </summary>
|
||||
public const string NAME = "subsystem";
|
||||
public const string Name = "subsystem";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the request.
|
||||
@@ -20,7 +20,7 @@
|
||||
/// </value>
|
||||
public override string RequestName
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
/// <summary>
|
||||
/// Channe request name
|
||||
/// </summary>
|
||||
public const string NAME = "window-change";
|
||||
public const string Name = "window-change";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the request.
|
||||
@@ -18,7 +18,7 @@
|
||||
/// </value>
|
||||
public override string RequestName
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/// <summary>
|
||||
/// Channel request name
|
||||
/// </summary>
|
||||
public const string NAME = "x11-req";
|
||||
public const string Name = "x11-req";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the request.
|
||||
@@ -20,7 +20,7 @@
|
||||
/// </value>
|
||||
public override string RequestName
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
/// <summary>
|
||||
/// Channel request type
|
||||
/// </summary>
|
||||
public const string NAME = "xon-xoff";
|
||||
public const string Name = "xon-xoff";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the request.
|
||||
@@ -18,7 +18,7 @@
|
||||
/// </value>
|
||||
public override string RequestName
|
||||
{
|
||||
get { return NAME; }
|
||||
get { return Name; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user