public sealed class PluginManager : DisposableObject,
IPluginManager, IDisposableObject, IDisposable, IResolverObjectPublic NotInheritable Class PluginManager
Inherits DisposableObject
Implements IPluginManager, IDisposableObject, IDisposable, IResolverObject[<SealedAttribute>]
type PluginManager =
class
inherit DisposableObject
interface IPluginManager
interface IDisposableObject
interface IDisposable
interface IResolverObject
end| PluginManager | 表示插件管理器 |
| DisposedValue |
标识该对象是否已被释放
(继承自 DisposableObject。) |
| Enable | 标识该插件管理器是否可用。 |
| Plugins | 所包含的所有插件。 |
| Resolver | 获取解析器实例。 |
| Add(Type) | 添加插件 |
| Add(Type, FuncObject, PluginEventArgs, Task, Delegate) | 添加一个插件类型及其对应的调用处理程序。 |
| AddTPlugin(TPlugin) | 添加插件 |
| Dispose |
释放资源。内部已经处理了SuppressFinalize(Object) (继承自 DisposableObject。) |
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
| GetFromIocCount | 获取来自IOC容器的指定名称的插件数量。 |
| GetHashCode | Serves as the default hash function. (继承自 Object。) |
| GetPluginCount | 获取已添加的指定名称的插件数量。 |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| RaiseAsync | 触发对应插件 |
| Remove(IPlugin) | 移除指定的插件实例 |
| Remove(Type, Delegate) | 根据插件类型和功能委托移除插件 |
| ToString | Returns a string that represents the current object. (继承自 Object。) |