Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Allows loading assemblies from specific paths. More...
Public Member Functions | |
void | AddPath (string folderForAssemblies) |
Add a path to a folder where additional assemblies are located. | |
void | ForbidRedirection (string assemblyBaseName) |
If an assembly can't be found, Chronos usually tries to let your code find the required type in Chronos.exe. Use this function to prevent this from happening. | |
Allows loading assemblies from specific paths.
Most likely you won't need this, but it can be helpful for specific scenarios where you want to refer to other program's assemblies without copying them around.
Definition at line 381 of file MiscInterfaces.cs.
void AxelSemrau.Chronos.Plugin.ILoadPathExtender.AddPath | ( | string | folderForAssemblies | ) |
Add a path to a folder where additional assemblies are located.
folderForAssemblies |
void AxelSemrau.Chronos.Plugin.ILoadPathExtender.ForbidRedirection | ( | string | assemblyBaseName | ) |
If an assembly can't be found, Chronos usually tries to let your code find the required type in Chronos.exe. Use this function to prevent this from happening.
The redirection can have unintended consequences, but some plugins rely on this behavior.
assemblyBaseName |