# < Summary

Information

Class: | Renci.SshNet.Common.ChannelRequestEventArgs
Assembly: | Renci.SshNet
File(s): | \home\appveyor\projects\ssh-net\src\Renci.SshNet\Common\ChannelRequestEventArgs.cs

Line coverage
75%

Covered lines: | 6
Uncovered lines: | 2
Coverable lines: | 8
Total lines: | 35
Line coverage: | 75%

Branch coverage
50%

Covered branches: | 1
Total branches: | 2
Branch coverage: | 50%

Method coverage

Feature is only available for sponsors

Upgrade to PRO version

# Metrics

Method | Branch coverage | Cyclomatic complexity | Line coverage
--- | --- | --- | ---
.ctor(...) | 50% | 2 | 71.42%
get_Info() | 100% | 1 | 100%

# File(s)

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

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using System;`
|  | `2` |  | ``
|  | `3` |  | `using Renci.SshNet.Messages.Connection;`
|  | `4` |  | ``
|  | `5` |  | `namespace Renci.SshNet.Common`
|  | `6` |  | `{`
|  | `7` |  | `/// <summary>`
|  | `8` |  | `/// Provides data for <see cref="Channels.Channel.RequestReceived"/> event.`
|  | `9` |  | `/// </summary>`
|  | `10` |  | `internal sealed class ChannelRequestEventArgs : EventArgs`
|  | `11` |  | `{`
|  | `12` |  | `/// <summary>`
|  | `13` |  | `/// Initializes a new instance of the <see cref="ChannelRequestEventArgs"/> class.`
|  | `14` |  | `/// </summary>`
|  | `15` |  | `/// <param name="info">Request information.</param>`
|  | `16` |  | `/// <exception cref="ArgumentNullException"><paramref name="info"/> is <see langword="null"/>.</exception>`
| 739 | `17` |  | `public ChannelRequestEventArgs(RequestInfo info)`
| 739 | `18` |  | `{`
| 739 | `19` |  | `if (info is null)`
| 0 | `20` |  | `{`
| 0 | `21` |  | `throw new ArgumentNullException(nameof(info));`
|  | `22` |  | `}`
|  | `23` |  | ``
| 739 | `24` |  | `Info = info;`
| 739 | `25` |  | `}`
|  | `26` |  | ``
|  | `27` |  | `/// <summary>`
|  | `28` |  | `/// Gets the request information.`
|  | `29` |  | `/// </summary>`
|  | `30` |  | `/// <value>`
|  | `31` |  | `/// The request information.`
|  | `32` |  | `/// </value>`
| 739 | `33` |  | `public RequestInfo Info { get; }`
|  | `34` |  | `}`
|  | `35` |  | `}`

# Methods/Properties

.ctor(Renci.SshNet.Messages.Connection.RequestInfo)
get_Info()