< Summary

Information
Class: Renci.SshNet.Common.ScpDownloadEventArgs
Assembly: Renci.SshNet
File(s): \home\appveyor\projects\ssh-net\src\Renci.SshNet\Common\ScpDownloadEventArgs.cs
Line coverage
88%
Covered lines: 8
Uncovered lines: 1
Coverable lines: 9
Total lines: 38
Line coverage: 88.8%
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_Filename()100%1100%
get_Size()100%10%
get_Downloaded()100%1100%

File(s)

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

#LineLine coverage
 1using System;
 2
 3namespace Renci.SshNet.Common
 4{
 5    /// <summary>
 6    /// Provides data for the Downloading event.
 7    /// </summary>
 8    public class ScpDownloadEventArgs : EventArgs
 9    {
 10        /// <summary>
 11        /// Initializes a new instance of the <see cref="ScpDownloadEventArgs"/> class.
 12        /// </summary>
 13        /// <param name="filename">The downloaded filename.</param>
 14        /// <param name="size">The downloaded file size.</param>
 15        /// <param name="downloaded">The number of downloaded bytes so far.</param>
 65016        public ScpDownloadEventArgs(string filename, long size, long downloaded)
 65017        {
 65018            Filename = filename;
 65019            Size = size;
 65020            Downloaded = downloaded;
 65021        }
 22
 23        /// <summary>
 24        /// Gets the downloaded filename.
 25        /// </summary>
 65026        public string Filename { get; }
 27
 28        /// <summary>
 29        /// Gets the downloaded file size.
 30        /// </summary>
 031        public long Size { get; }
 32
 33        /// <summary>
 34        /// Gets number of downloaded bytes so far.
 35        /// </summary>
 65036        public long Downloaded { get; }
 37    }
 38}