< Summary

Information
Class: Renci.SshNet.Common.ChannelEventArgs
Assembly: Renci.SshNet
File(s): \home\appveyor\projects\ssh-net\src\Renci.SshNet\Common\ChannelEventArgs.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 27
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
.ctor(...)100%1100%
get_ChannelNumber()100%1100%

File(s)

\home\appveyor\projects\ssh-net\src\Renci.SshNet\Common\ChannelEventArgs.cs

#LineLine coverage
 1using System;
 2
 3namespace Renci.SshNet.Common
 4{
 5    /// <summary>
 6    /// Base class for all channel related events.
 7    /// </summary>
 8    internal class ChannelEventArgs : EventArgs
 9    {
 10        /// <summary>
 11        /// Initializes a new instance of the <see cref="ChannelEventArgs"/> class.
 12        /// </summary>
 13        /// <param name="channelNumber">The channel number.</param>
 3614214        public ChannelEventArgs(uint channelNumber)
 3614215        {
 3614216            ChannelNumber = channelNumber;
 3614217        }
 18
 19        /// <summary>
 20        /// Gets the channel number.
 21        /// </summary>
 22        /// <value>
 23        /// The channel number.
 24        /// </value>
 6325        public uint ChannelNumber { get; }
 26    }
 27}