C# Class IrcShark.ExtensionManager

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

Public Methods

Method 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

Method Description
HashAviableExtensions ( ) : void
HiddenLoad ( ExtensionInfo ext ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ExtensionManager() public method

public ExtensionManager ( IrcSharkApplication app ) : System
app IrcSharkApplication
return System

IsLoaded() public method

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

IsMarkedForUnload() public method

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

Load() public method

Loads the given extension.
public Load ( ExtensionInfo ext ) : void
ext IrcShark.Extensions.ExtensionInfo
return void

LoadEnabledExtensions() public method

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

Unload() public method

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