PluginProvider

Namespace: uModPlugins

Assembly: uMod.Core.dll

Inheritance Object PluginProvider

Implements IPluginProvider

Constructors

Name

Summary

PluginProvider (IModule, CoreLocalization, IExtensionProvider, IAppInfo, Plugins, ILogger)

Fields

Name

Summary

Directory

Properties

Name

Summary

All

Enumerable containing all loaded plugins

Configuration

Plugins configuration

Manager

Plugin manager (handles hook dispatching)

Methods

Name

Summary

CallHook (String, Object[])

Calls the specified hook

Exists (String)

Returns if a plugin has been loaded by the specified name

Find<T> ()

Returns an enumerable list of plugins that implement the specified type or interface

Get (String)

Returns the object of a loaded plugin with the specified name

Get<T> (String)

Returns the object of a loaded plugin with the specified name

GetAll ()

Gets an array of all currently loaded plugins

Load (IEnumerable<String>)

Loads specified plugins

Load (String)

Loads a plugin by the given name

LoadAll (Boolean)

Reload (IEnumerable<String>)

Reloads specified plugins

Reload (String)

Reloads the plugin by the given name

ReloadAll (IEnumerable<String>)

Reloads all plugins

Unload (IEnumerable<String>)

Unloads specified plugins

Unload (String)

Unloads the plugin by the given name

UnloadAll (IEnumerable<String>)

Unloads all plugins