C# Class IrcShark.ExtensionManager

Manages all extensions currently aviable on the system.
Inheritance: System.MarshalByRefObject, IDisposable
Afficher le fichier Open project: hapm/IrcShark Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
ExtensionManager ( IrcSharkApplication app ) : System
IsLoaded ( ExtensionInfo info ) : bool

Checks if the given extension is loaded or not.

IsMarkedForUnload ( ExtensionInfo ext ) : bool

Give information about if the given extension will be unloaded next time IrcShark starts.

Load ( ExtensionInfo ext ) : void

Loads the given extension.

LoadEnabledExtensions ( ) : void

Loads all extensions what are configrated to be loaded.

Unload ( ExtensionInfo ext ) : void

Marks the given extension to be unladed next time IrcShark starts.

Private Methods

Méthode Description
HashAviableExtensions ( ) : void
HiddenLoad ( ExtensionInfo ext ) : bool

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ExtensionManager() public méthode

public ExtensionManager ( IrcSharkApplication app ) : System
app IrcSharkApplication
Résultat System

IsLoaded() public méthode

Checks if the given extension is loaded or not.
public IsLoaded ( ExtensionInfo info ) : bool
info IrcShark.Extensions.ExtensionInfo
Résultat bool

IsMarkedForUnload() public méthode

Give information about if the given extension will be unloaded next time IrcShark starts.
public IsMarkedForUnload ( ExtensionInfo ext ) : bool
ext IrcShark.Extensions.ExtensionInfo
Résultat bool

Load() public méthode

Loads the given extension.
public Load ( ExtensionInfo ext ) : void
ext IrcShark.Extensions.ExtensionInfo
Résultat void

LoadEnabledExtensions() public méthode

Loads all extensions what are configrated to be loaded.
public LoadEnabledExtensions ( ) : void
Résultat void

Unload() public méthode

Marks the given extension to be unladed next time IrcShark starts.
public Unload ( ExtensionInfo ext ) : void
ext IrcShark.Extensions.ExtensionInfo
Résultat void