< Summary

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

File(s)

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

#LineLine coverage
 1namespace Renci.SshNet.Common
 2{
 3    /// <summary>
 4    /// Provides data for <see cref="Channels.Channel.ExtendedDataReceived"/> events.
 5    /// </summary>
 6    internal sealed class ChannelExtendedDataEventArgs : ChannelDataEventArgs
 7    {
 8        /// <summary>
 9        /// Initializes a new instance of the <see cref="ChannelExtendedDataEventArgs"/> class.
 10        /// </summary>
 11        /// <param name="channelNumber">Channel number.</param>
 12        /// <param name="data">Channel data.</param>
 13        /// <param name="dataTypeCode">Channel data type code.</param>
 14        public ChannelExtendedDataEventArgs(uint channelNumber, byte[] data, uint dataTypeCode)
 8815            : base(channelNumber, data)
 8816        {
 8817            DataTypeCode = dataTypeCode;
 8818        }
 19
 20        /// <summary>
 21        /// Gets the data type code.
 22        /// </summary>
 23        /// <value>
 24        /// The data type code.
 25        /// </value>
 8826        public uint DataTypeCode { get; }
 27    }
 28}