< Summary

Information
Class: Renci.SshNet.Common.ChannelOpenConfirmedEventArgs
Assembly: Renci.SshNet
File(s): \home\appveyor\projects\ssh-net\src\Renci.SshNet\Common\ChannelOpenConfirmedEventArgs.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 7
Coverable lines: 7
Total lines: 37
Line coverage: 0%
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%10%
get_InitialWindowSize()100%10%
get_MaximumPacketSize()100%10%

File(s)

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

#LineLine coverage
 1namespace Renci.SshNet.Common
 2{
 3    /// <summary>
 4    /// Provides data for <see cref="Channels.ClientChannel.OpenConfirmed"/> event.
 5    /// </summary>
 6    internal sealed class ChannelOpenConfirmedEventArgs : ChannelEventArgs
 7    {
 8        /// <summary>
 9        /// Initializes a new instance of the <see cref="ChannelOpenConfirmedEventArgs"/> class.
 10        /// </summary>
 11        /// <param name="remoteChannelNumber">The remote channel number.</param>
 12        /// <param name="initialWindowSize">The initial window size.</param>
 13        /// <param name="maximumPacketSize">The maximum packet size.</param>
 14        public ChannelOpenConfirmedEventArgs(uint remoteChannelNumber, uint initialWindowSize, uint maximumPacketSize)
 015            : base(remoteChannelNumber)
 016        {
 017            InitialWindowSize = initialWindowSize;
 018            MaximumPacketSize = maximumPacketSize;
 019        }
 20
 21        /// <summary>
 22        /// Gets the initial size of the window.
 23        /// </summary>
 24        /// <value>
 25        /// The initial size of the window.
 26        /// </value>
 027        public uint InitialWindowSize { get; }
 28
 29        /// <summary>
 30        /// Gets the maximum size of the packet.
 31        /// </summary>
 32        /// <value>
 33        /// The maximum size of the packet.
 34        /// </value>
 035        public uint MaximumPacketSize { get; }
 36    }
 37}