Table of Contents

Class ProcessorManager

Namespace
RisingV.Shared.Processors
Assembly
RisingV.Shared.dll

Manages the processors in the plugin system.

public class ProcessorManager : TypeMapManager<IProcessor, ProcessorManager>, IManager<IProcessor, ProcessorManager>, IManager, IPluginComponent, IManageable<PluginComponentsManager>, IManageable
Inheritance
ProcessorManager
Implements
Inherited Members
Extension Methods

Properties

Log

protected override Logger Log { get; }

Property Value

Logger

Methods

AddProcessor<T>(IPlugin, bool)

public T? AddProcessor<T>(IPlugin plugin, bool failIfExists = true) where T : IProcessor

Parameters

plugin IPlugin
failIfExists bool

Returns

T

Type Parameters

T

AddProcessor<T>(IPlugin, T, bool)

public void AddProcessor<T>(IPlugin plugin, T system, bool failIfExists = true) where T : IProcessor

Parameters

plugin IPlugin
system T
failIfExists bool

Type Parameters

T

GetProcessor<T>(bool)

public T? GetProcessor<T>(bool required = true) where T : IProcessor

Parameters

required bool

Returns

T

Type Parameters

T

RemoveProcessor<T>(IPlugin)

public void RemoveProcessor<T>(IPlugin plugin) where T : IProcessor

Parameters

plugin IPlugin

Type Parameters

T