Chronos Plugins 5.4.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
AxelSemrau.Chronos.Plugin.ILoadPathExtender Interface Reference

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.
 

Detailed Description

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 373 of file MiscInterfaces.cs.

Member Function Documentation

◆ AddPath()

void AxelSemrau.Chronos.Plugin.ILoadPathExtender.AddPath ( string  folderForAssemblies)

Add a path to a folder where additional assemblies are located.

Parameters
folderForAssemblies

◆ ForbidRedirection()

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.

Parameters
assemblyBaseName

The documentation for this interface was generated from the following file: