< Summary

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

File(s)

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

#LineLine coverage
 1using System;
 2
 3namespace Renci.SshNet.Common
 4{
 5    /// <summary>
 6    /// Provides data for the ErrorOccured events.
 7    /// </summary>
 8    public class ExceptionEventArgs : EventArgs
 9    {
 10        /// <summary>
 11        /// Initializes a new instance of the <see cref="ExceptionEventArgs"/> class.
 12        /// </summary>
 13        /// <param name="exception">An System.Exception that represents the error that occurred.</param>
 59614        public ExceptionEventArgs(Exception exception)
 59615        {
 59616            Exception = exception;
 59617        }
 18
 19        /// <summary>
 20        /// Gets the <see cref="Exception"/> that represents the error that occurred.
 21        /// </summary>
 22        /// <value>
 23        /// The <see cref="Exception"/> that represents the error that occurred.
 24        /// </value>
 20325        public Exception Exception { get; }
 26    }
 27}