C# Class Schumix.Framework.Addon.AddonManager

Class used to manage (load, unload, reload) plugins dynamically.
Inheritance: Schumix.Framework.Config.DefaultConfig
Afficher le fichier Open project: Schumix/Schumix2

Méthodes publiques

Свойство Type Description
Addons AddonBase>.Dictionary

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
AddonManager ( ) : System
IsIgnore ( string Name, string ServerName ) : bool
SetupAppDomainDebugHandlers ( ) : void

Method Details

Initialize() public méthode

Initializes the Plugin manager.
public Initialize ( ) : void
Résultat void

IsAddon() public méthode

public IsAddon ( string ServerName, string AddonName ) : bool
ServerName string
AddonName string
Résultat bool

IsLoadingAddons() public méthode

public IsLoadingAddons ( ) : bool
Résultat bool

LoadPluginsFromDirectory() public méthode

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

LoadPluginsFromDirectory() public méthode

Loads plugins from the specified directory.
public LoadPluginsFromDirectory ( string directory ) : bool
directory string The directory to check in
Résultat bool

UnloadPlugins() public méthode

Unloads all addons.
public UnloadPlugins ( string ServerName = "" ) : bool
ServerName string
Résultat bool

Property Details

Addons public_oe property

public Dictionary Addons
Résultat AddonBase>.Dictionary