PluginsManagerLoadFromAssembly Method

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

Definition

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

Parameters

appEnv  IAppEnv
Application environment to use.
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  ListString
List of referenced assemblies existing in the same folder.
doPreload  Boolean
Specifies whether to call AvoidJIT(Assembly) for the plug-in assembly.

Return Value

ListPluginInfo
A list of information about the loaded IPlugin implementations.

See Also