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
Afficher le fichier Open project: PrismLibrary/Prism-Samples-Wpf

Méthodes publiques

Méthode 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

Méthode Description
GetModuleTrackingState ( string moduleName ) : ModuleTrackingState

Method Details

ModuleTracker() public méthode

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

RecordModuleConstructed() public méthode

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

RecordModuleDownloading() public méthode

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.
Résultat void

RecordModuleInitialized() public méthode

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

RecordModuleLoaded() public méthode

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