Show / Hide Table of Contents

Interface IPluginManager

Namespace: Eco.Core.Plugins.Interfaces
Assembly: Eco.Core.dll
Syntax
public interface IPluginManager

Properties

BaseStorage

Declaration
IFileStorage BaseStorage { get; }
Property Value
Type Description
IFileStorage

ConfigStorage

Declaration
IFileStorage ConfigStorage { get; }
Property Value
Type Description
IFileStorage

DefaultConfigStorage

Declaration
IFileStorage DefaultConfigStorage { get; }
Property Value
Type Description
IFileStorage

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
Type Name Description
System.Action<IServerPlugin> action

GetPlugin<T>()

Declaration
T GetPlugin<T>()
Returns
Type Description
T
Type Parameters
Name Description
T

OpenServerUI()

Declaration
void OpenServerUI()

RunIfOrWhenInited(Action)

Declaration
void RunIfOrWhenInited(Action action)
Parameters
Type Name Description
System.Action action

Extension Methods

PropertyChanges.FirePropertyChanged(Object, String)
PropertyChanges.FirePropertyChanged(Object, String, Object, Object)
PropertyChanges.FirePropertyChanged(Object, MemberChangedBeforeAfterEventArgs)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾