C# Класс 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.
Наследование: IModuleTracker
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetModuleTrackingState ( string moduleName ) : ModuleTrackingState

Описание методов

ModuleTracker() публичный Метод

Initializes a new instance of the ModuleTracker class.
public ModuleTracker ( ILoggerFacade logger ) : System
logger ILoggerFacade
Результат System

RecordModuleConstructed() публичный Метод

Records the module has been constructed.
public RecordModuleConstructed ( string moduleName ) : void
moduleName string The well-known name of the module.
Результат void

RecordModuleDownloading() публичный Метод

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.
Результат void

RecordModuleInitialized() публичный Метод

Records the module has been initialized.
public RecordModuleInitialized ( string moduleName ) : void
moduleName string The well-known name of the module.
Результат void

RecordModuleLoaded() публичный Метод

Records the module is loaded.
public RecordModuleLoaded ( string moduleName ) : void
moduleName string The well-known name of the module.
Результат void