< Summary

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

File(s)

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

#LineLine coverage
 1using System;
 2
 3namespace Renci.SshNet.Common
 4{
 5    /// <summary>
 6    /// Provides data for Shell DataReceived event.
 7    /// </summary>
 8    public class ShellDataEventArgs : EventArgs
 9    {
 10        /// <summary>
 11        /// Initializes a new instance of the <see cref="ShellDataEventArgs"/> class.
 12        /// </summary>
 13        /// <param name="data">The data.</param>
 014        public ShellDataEventArgs(byte[] data)
 015        {
 016            Data = data;
 017        }
 18
 19        /// <summary>
 20        /// Initializes a new instance of the <see cref="ShellDataEventArgs"/> class.
 21        /// </summary>
 22        /// <param name="line">The line.</param>
 023        public ShellDataEventArgs(string line)
 024        {
 025            Line = line;
 026        }
 27
 28        /// <summary>
 29        /// Gets the data.
 30        /// </summary>
 031        public byte[] Data { get; }
 32
 33        /// <summary>
 34        /// Gets the line data.
 35        /// </summary>
 036        public string Line { get; }
 37    }
 38}