Interface IPluginManager
Assembly: Eco.Core.dll
Syntax
public interface IPluginManager
Properties
BaseStorage
Declaration
IFileStorage BaseStorage { get; }
Property Value
ConfigStorage
Declaration
IFileStorage ConfigStorage { get; }
Property Value
DefaultConfigStorage
Declaration
IFileStorage DefaultConfigStorage { get; }
Property Value
Initialized
Declaration
bool Initialized { get; }
Property Value
Type |
Description |
System.Boolean |
|
Plugins
Declaration
IEnumerable<IServerPlugin> Plugins { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<IServerPlugin> |
|
Methods
FireShutdown(ApplicationExitCodes)
Initiates shutdown procedure, but doesn't wait until it complete. It doesn't terminate code execution and so instruction after this call will be executed as usual.
Optional exitCode
contains application exit code.
Declaration
void FireShutdown(ApplicationExitCodes exitCode)
Parameters
Type |
Name |
Description |
ApplicationExitCodes |
exitCode |
Exit code to return to the host operating system.
|
ForEach(Action<IServerPlugin>)
Declaration
void ForEach(Action<IServerPlugin> action)
Parameters
GetPlugin<T>()
Declaration
Returns
Type Parameters
OpenServerUI()
Declaration
RunIfOrWhenInited(Action)
Declaration
void RunIfOrWhenInited(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
Extension Methods