C# 클래스 JPB.Shell.MEF.Model.StrongNameCatalog

상속: ComposablePartCatalog, INotifyComposablePartCatalogChanged
파일 보기 프로젝트 열기: JPVenson/MSEF

공개 메소드들

메소드 설명
AsyncInit ( ) : void
FreeAssambly ( Assembly assambly ) : void

Unloads a Assambly From the Mef Container. It does NOT unload it from the Domain

GetExports ( System.ComponentModel.Composition.Primitives.ImportDefinition definition ) : ExportDefinition>>.IEnumerable
StrongNameCatalog ( IEnumerable path, bool watchDirectorys ) : System

StrongNameCatalog Constructor

Use this Ctor to get all dll's that export anything in the spezific paths

Use the trustedKeys params to search for the Public Keys. Only Assambly with one of that keys will included Set #DEFINE SECLOADING to Compile this function

비공개 메소드들

메소드 설명
CheckAndAddAssambly ( [ filename, ParallelLoopState state ) : void
CheckAndAddAssambly ( string filename, System.Action cancel ) : void
CreateWatcher ( string path ) : FileSystemWatcher
IsHandeld ( Exception e, string assamblyname ) : void

Simple helper

OnChanged ( object sender, FileSystemEventArgs e ) : void

메소드 상세

AsyncInit() 공개 메소드

public AsyncInit ( ) : void
리턴 void

FreeAssambly() 공개 메소드

Unloads a Assambly From the Mef Container. It does NOT unload it from the Domain
public FreeAssambly ( Assembly assambly ) : void
assambly System.Reflection.Assembly Your Target assambly
리턴 void

GetExports() 공개 메소드

public GetExports ( System.ComponentModel.Composition.Primitives.ImportDefinition definition ) : ExportDefinition>>.IEnumerable
definition System.ComponentModel.Composition.Primitives.ImportDefinition
리턴 ExportDefinition>>.IEnumerable

StrongNameCatalog() 공개 메소드

StrongNameCatalog Constructor

Use this Ctor to get all dll's that export anything in the spezific paths

Use the trustedKeys params to search for the Public Keys. Only Assambly with one of that keys will included Set #DEFINE SECLOADING to Compile this function

public StrongNameCatalog ( IEnumerable path, bool watchDirectorys ) : System
path IEnumerable The Paths to search
watchDirectorys bool Set this to True to enable the AutoWatch function
리턴 System