Exemplo n.º 1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="DownloadProgressUpdatedEventArgs"/> class.
 /// </summary>
 /// <param name="download">The download which raised the event.</param>
 /// <param name="bytesDownloaded">The total number of bytes read.</param>
 internal DownloadProgressUpdatedEventArgs(Download download, int bytesDownloaded)
     : base(download)
 {
     BytesDownloaded = bytesDownloaded;
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="DownloadStateChangedEventArgs"/> class.
 /// </summary>
 /// <param name="previousState">The previous state of the download.</param>
 /// <param name="download">The download which raised the event.</param>
 internal DownloadStateChangedEventArgs(DownloadStates previousState, Download download)
     : base(download)
 {
     PreviousState = previousState;
 }