C# Класс Microsoft.Practices.Prism.MefExtensions.Modularity.MefFileModuleTypeLoader

Наследование: IModuleTypeLoader
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CanLoadModuleType ( ModuleInfo moduleInfo ) : bool

Evaluates the ModuleInfo.Ref property to see if the current typeloader will be able to retrieve the moduleInfo. Returns true if the ModuleInfo.Ref property starts with "file://", because this indicates that the file is a local file.

LoadModuleType ( ModuleInfo moduleInfo ) : void

Retrieves the moduleInfo.

MefFileModuleTypeLoader ( ) : System

Initializes a new instance of the MefFileModuleTypeLoader class. This instance is used to load requested module types.

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

Метод Описание
IsSuccessfullyDownloaded ( Uri uri ) : bool
RaiseLoadModuleCompleted ( LoadModuleCompletedEventArgs e ) : void
RaiseLoadModuleCompleted ( ModuleInfo moduleInfo, Exception error ) : void
RaiseModuleDownloadProgressChanged ( ModuleDownloadProgressChangedEventArgs e ) : void
RaiseModuleDownloadProgressChanged ( ModuleInfo moduleInfo, long bytesReceived, long totalBytesToReceive ) : void
RecordDownloadSuccess ( Uri uri ) : void

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

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

Evaluates the ModuleInfo.Ref property to see if the current typeloader will be able to retrieve the moduleInfo. Returns true if the ModuleInfo.Ref property starts with "file://", because this indicates that the file is a local file.
public CanLoadModuleType ( ModuleInfo moduleInfo ) : bool
moduleInfo Microsoft.Practices.Prism.Modularity.ModuleInfo Module that should have it's type loaded.
Результат bool

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

Retrieves the moduleInfo.
public LoadModuleType ( ModuleInfo moduleInfo ) : void
moduleInfo Microsoft.Practices.Prism.Modularity.ModuleInfo Module that should have it's type loaded.
Результат void

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

Initializes a new instance of the MefFileModuleTypeLoader class. This instance is used to load requested module types.
public MefFileModuleTypeLoader ( ) : System
Результат System