CompilablePluginLoader

Namespace: uModPlugins

Assembly: uMod.Core.dll

Inheritance ObjectPluginLoader CompilablePluginLoader

Implements IPluginLoader

Summary

Represents a plugin loader that handles live compilation

Constructors

Name

Summary

CompilablePluginLoader (ILogger, PluginProvider)

Create a new instance of the CompilablePluginLoader class

Properties

Name

Summary

FileExtension

Gets the plugin file extension

Methods

Name

Summary

AddReferences ()

Include references to all loaded game extensions and any assemblies they reference

Load (String, String)

Attempt to asynchronously compile and load plugin

Reload (String, String)

Attempt to asynchronously compile plugin and only reload if successful

Reload (String)

Attempt to asynchronously compile plugin and only reload if successful

ScanDirectory (String)

Enumerate over specified directory

Unloading (IPlugin)

Called when the plugin manager is unloading a plugin that was loaded by this plugin loader

Static Fields

Name

Summary

DefaultReferences

Assemblies that always will be referenced when compiling

PluginReferences

Default plugin references