IPluginApi.GetPlugin<T> method
通过插件Id获取插件实例。
public T GetPlugin<T>(string pluginId)
where T : PluginBase
parameter | description |
---|---|
T | 插件类。 |
pluginId | 插件Id。 |
Return Value
插件实例。
See Also
- class PluginBase
- interface IPluginApi
- namespace SiteServer.Plugin