PluginsManagerLoadFromAssembly Method
Loads
IPlugin implementations from a previously loaded plug-in assembly.
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.74.9654.0
public static List<PluginInfo> LoadFromAssembly(
IAppEnv appEnv,
Assembly asm,
string location,
PluginState state,
List<string> references,
bool doPreload
)
Public Shared Function LoadFromAssembly (
appEnv As IAppEnv,
asm As Assembly,
location As String,
state As PluginState,
references As List(Of String),
doPreload As Boolean
) As List(Of PluginInfo)
public:
static List<PluginInfo^>^ LoadFromAssembly(
IAppEnv^ appEnv,
Assembly^ asm,
String^ location,
PluginState state,
List<String^>^ references,
bool doPreload
)
static member LoadFromAssembly :
appEnv : IAppEnv *
asm : Assembly *
location : string *
state : PluginState *
references : List<string> *
doPreload : bool -> List<PluginInfo>
- 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.
ListPluginInfoA list of information about the loaded
IPlugin implementations.