AnyCAD Rapid API 2024
Help you to create a better world!
|
插件管理器 更多...
Public 成员函数 | |
ApplicationPluginManager () | |
构造函数 | |
void | UnloadPlugins () |
卸载所有的插件 | |
void | LoadPluginFromDirectory (string dir) |
加载插件 | |
bool | LoadPlugin (string fileName) |
加载 | |
IApplicationPlugin | RegisterPlugin (Assembly asm) |
加载 | |
Public 成员函数 继承自 AnyCAD.Foundation.ObjectTypeRepository< ApplicationPluginManager, IApplicationPlugin > | |
bool | FindObject (string name, out OT val) |
查找对象 | |
ObjectTypeRepository () | |
构造函数 | |
bool | Register (Assembly asm) |
从程序集加载命令 | |
bool | RegisterType (Type type) |
注册命令 | |
OT | RegisterTypeR (Type type) |
注册命令 | |
属性 | |
string | PluginPattern = "*.Plugin.dll" [get, set] |
后缀 | |
属性 继承自 AnyCAD.Foundation.ObjectTypeRepository< ApplicationPluginManager, IApplicationPlugin > | |
static T | Instance [get] |
单例入口 | |
插件管理器
bool AnyCAD.Foundation.ApplicationPluginManager.LoadPlugin | ( | string | fileName | ) |
加载
fileName |
void AnyCAD.Foundation.ApplicationPluginManager.LoadPluginFromDirectory | ( | string | dir | ) |
加载插件
dir |
IApplicationPlugin AnyCAD.Foundation.ApplicationPluginManager.RegisterPlugin | ( | Assembly | asm | ) |
加载
asm |