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