C# Class ModularityWithNinject.Desktop.ModuleTracker

Provides tracking of modules for the quickstart.
This class is for demonstration purposes for the quickstart and not expected to be used in a real world application. This class exports the interface for modules and the concrete type for the shell.
Inheritance: IModuleTracker
ファイルを表示 Open project: PrismLibrary/Prism-Samples-Wpf

Public Methods

Method Description
ModuleTracker ( ILoggerFacade logger ) : System

Initializes a new instance of the ModuleTracker class.

RecordModuleConstructed ( string moduleName ) : void

Records the module has been constructed.

RecordModuleDownloading ( string moduleName, long bytesReceived, long totalBytesToReceive ) : void

Records the module is loading.

RecordModuleInitialized ( string moduleName ) : void

Records the module has been initialized.

RecordModuleLoaded ( string moduleName ) : void

Records the module is loaded.

Private Methods

Method Description
GetModuleTrackingState ( string moduleName ) : ModuleTrackingState

Method Details

ModuleTracker() public method

Initializes a new instance of the ModuleTracker class.
public ModuleTracker ( ILoggerFacade logger ) : System
logger ILoggerFacade
return System

RecordModuleConstructed() public method

Records the module has been constructed.
public RecordModuleConstructed ( string moduleName ) : void
moduleName string The well-known name of the module.
return void

RecordModuleDownloading() public method

Records the module is loading.
public RecordModuleDownloading ( string moduleName, long bytesReceived, long totalBytesToReceive ) : void
moduleName string The well-known name of the module.
bytesReceived long The number of bytes downloaded.
totalBytesToReceive long The total number of bytes received.
return void

RecordModuleInitialized() public method

Records the module has been initialized.
public RecordModuleInitialized ( string moduleName ) : void
moduleName string The well-known name of the module.
return void

RecordModuleLoaded() public method

Records the module is loaded.
public RecordModuleLoaded ( string moduleName ) : void
moduleName string The well-known name of the module.
return void