PluginsManager.LoadFromAssembly Method

Loads IPlugin implementations from a previously loaded plug-in assembly.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public static List<PluginInfo> LoadFromAssembly(
	Assembly asm,
	string location,
	PluginState state,
	List<string> references,
	bool doPreload
)

Parameters

asm  Assembly
Assembly of the plug-in.
location  String
Full name of the Plug-in main assembly file.
state  PluginState
State of the plug-in.
references  List<String>
List of referenced assemblies existing in the same folder.
doPreload  Boolean
Whether to preload the plug-in assembly to improve its performance on first use.

Return Value

List<PluginInfo>
A list of information about the loaded IPlugin implementations.

See Also