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
通过插件Id获取插件实例。
public T GetPlugin<T>(string pluginId)where T : PluginBase
| parameter | description |
|---|---|
| T | 插件类。 |
| pluginId | 插件Id。 |
插件实例。
若有收获,就点个赞吧
0 人点赞
让时间为你证明