Interface IPluginCollection
- Namespace
- SkyrimForge
- Assembly
- SkyrimForge.dll
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
Tornullif 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.