Table of Contents

Interface IPluginCollection

Namespace
SkyrimForge
Assembly
SkyrimForge.dll

A collection of IPlugin. Allows one IPlugin to look up another to access its public members.

public interface IPluginCollection

Methods

GetOrNull<T>()

Finds the plugin implementing T.

Do not call before Start().

T? GetOrNull<T>() where T : class

Returns

T

An IPlugin implementing T or null if not found.

Type Parameters

T

Exceptions

InvalidOperationException

Multiple plugins implement T.

Get<T>()

Finds the plugin implementing T.

Do not call before Start().

T Get<T>() where T : class

Returns

T

An IPlugin implementing T.

Type Parameters

T

Exceptions

InvalidOperationException

No plugin or multiple plugins implement T.