C# 클래스 Microsoft.Practices.Prism.MefExtensions.Modularity.MefFileModuleTypeLoader

상속: IModuleTypeLoader
파일 보기 프로젝트 열기: xperiandri/PortablePrism 1 사용 예제들

공개 메소드들

메소드 설명
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