C# 클래스 Schumix.Framework.Addon.AddonManager

Class used to manage (load, unload, reload) plugins dynamically.
상속: Schumix.Framework.Config.DefaultConfig
파일 보기 프로젝트 열기: Schumix/Schumix2

공개 프로퍼티들

프로퍼티 타입 설명
Addons AddonBase>.Dictionary

공개 메소드들

메소드 설명
Initialize ( ) : void

Initializes the Plugin manager.

IsAddon ( string ServerName, string AddonName ) : bool
IsLoadingAddons ( ) : bool
LoadPluginsFromDirectory ( DirectoryInfo directory ) : bool

Loads plugins from the specified directory.

LoadPluginsFromDirectory ( string directory ) : bool

Loads plugins from the specified directory.

UnloadPlugins ( string ServerName = "" ) : bool

Unloads all addons.

비공개 메소드들

메소드 설명
AddonManager ( ) : System
IsIgnore ( string Name, string ServerName ) : bool
SetupAppDomainDebugHandlers ( ) : void

메소드 상세

Initialize() 공개 메소드

Initializes the Plugin manager.
public Initialize ( ) : void
리턴 void

IsAddon() 공개 메소드

public IsAddon ( string ServerName, string AddonName ) : bool
ServerName string
AddonName string
리턴 bool

IsLoadingAddons() 공개 메소드

public IsLoadingAddons ( ) : bool
리턴 bool

LoadPluginsFromDirectory() 공개 메소드

Loads plugins from the specified directory.
public LoadPluginsFromDirectory ( DirectoryInfo directory ) : bool
directory System.IO.DirectoryInfo The directory to check in
리턴 bool

LoadPluginsFromDirectory() 공개 메소드

Loads plugins from the specified directory.
public LoadPluginsFromDirectory ( string directory ) : bool
directory string The directory to check in
리턴 bool

UnloadPlugins() 공개 메소드

Unloads all addons.
public UnloadPlugins ( string ServerName = "" ) : bool
ServerName string
리턴 bool

프로퍼티 상세

Addons 공개적으로 프로퍼티

public Dictionary Addons
리턴 AddonBase>.Dictionary