< Summary

Information
Class: Renci.SshNet.Messages.Connection.ShellRequestInfo
Assembly: Renci.SshNet
File(s): \home\appveyor\projects\ssh-net\src\Renci.SshNet\Messages\Connection\ChannelRequest\ShellRequestInfo.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 32
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_RequestName()100%1100%
.ctor()100%1100%

File(s)

\home\appveyor\projects\ssh-net\src\Renci.SshNet\Messages\Connection\ChannelRequest\ShellRequestInfo.cs

#LineLine coverage
 1namespace Renci.SshNet.Messages.Connection
 2{
 3    /// <summary>
 4    /// Represents "shell" type channel request information.
 5    /// </summary>
 6    internal sealed class ShellRequestInfo : RequestInfo
 7    {
 8        /// <summary>
 9        /// Channel request name.
 10        /// </summary>
 11        public const string Name = "shell";
 12
 13        /// <summary>
 14        /// Gets the name of the request.
 15        /// </summary>
 16        /// <value>
 17        /// The name of the request.
 18        /// </value>
 19        public override string RequestName
 20        {
 2121            get { return Name; }
 22        }
 23
 24        /// <summary>
 25        /// Initializes a new instance of the <see cref="ShellRequestInfo"/> class.
 26        /// </summary>
 281127        public ShellRequestInfo()
 281128        {
 281129            WantReply = true;
 281130        }
 31    }
 32}

Methods/Properties

get_RequestName()
.ctor()