# < 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

Method | Branch coverage | Cyclomatic complexity | Line coverage
--- | --- | --- | ---
.ctor(...) | 100% | 1 | 0%
.ctor(...) | 100% | 1 | 0%
get_Data() | 100% | 1 | 0%
get_Line() | 100% | 1 | 0%

# File(s)

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

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using System;`
|  | `2` |  | ``
|  | `3` |  | `namespace 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>`
| 0 | `14` |  | `public ShellDataEventArgs(byte[] data)`
| 0 | `15` |  | `{`
| 0 | `16` |  | `Data = data;`
| 0 | `17` |  | `}`
|  | `18` |  | ``
|  | `19` |  | `/// <summary>`
|  | `20` |  | `/// Initializes a new instance of the <see cref="ShellDataEventArgs"/> class.`
|  | `21` |  | `/// </summary>`
|  | `22` |  | `/// <param name="line">The line.</param>`
| 0 | `23` |  | `public ShellDataEventArgs(string line)`
| 0 | `24` |  | `{`
| 0 | `25` |  | `Line = line;`
| 0 | `26` |  | `}`
|  | `27` |  | ``
|  | `28` |  | `/// <summary>`
|  | `29` |  | `/// Gets the data.`
|  | `30` |  | `/// </summary>`
| 0 | `31` |  | `public byte[] Data { get; }`
|  | `32` |  | ``
|  | `33` |  | `/// <summary>`
|  | `34` |  | `/// Gets the line data.`
|  | `35` |  | `/// </summary>`
| 0 | `36` |  | `public string Line { get; }`
|  | `37` |  | `}`
|  | `38` |  | `}`

# Methods/Properties

.ctor(System.Byte[])
.ctor(System.String)
get_Data()
get_Line()