C# Class Microsoft.Practices.Prism.Modularity.ModuleDownloadProgressChangedEventArgs

Provides progress information as a module downloads.
Inheritance: System.ComponentModel.ProgressChangedEventArgs
Datei anzeigen Open project: xperiandri/PortablePrism Class Usage Examples

Public Methods

Method Description
ModuleDownloadProgressChangedEventArgs ( ModuleInfo moduleInfo, long bytesReceived, long totalBytesToReceive ) : System

Initializes a new instance of the ModuleDownloadProgressChangedEventArgs class.

Private Methods

Method Description
CalculateProgressPercentage ( long bytesReceived, long totalBytesToReceive ) : int

Method Details

ModuleDownloadProgressChangedEventArgs() public method

Initializes a new instance of the ModuleDownloadProgressChangedEventArgs class.
public ModuleDownloadProgressChangedEventArgs ( ModuleInfo moduleInfo, long bytesReceived, long totalBytesToReceive ) : System
moduleInfo ModuleInfo The module info.
bytesReceived long The bytes received.
totalBytesToReceive long The total bytes to receive.
return System