DictionaryProvider 类
- 命名空间
- Shadow.DDL.Components
- 程序集
- Shadow.DDL.dll
字典组件(插件)工厂
public class DictionaryProvider : IPluginProvider
- 继承
-
objectDictionaryProvider
- 实现
构造函数
DictionaryProvider()
字典组件(插件)工厂
public DictionaryProvider()
DictionaryProvider(IDictionary)
字典组件(插件)工厂
public DictionaryProvider(IDictionary provider)
参数
providerIDictionary
属性
Provider
字典提供者
public IDictionary Provider { get; }
属性值
方法
AddComponent<TComponent>(TComponent)
添加组件
public DictionaryProvider AddComponent<TComponent>(TComponent component) where TComponent : class
参数
componentTComponent
返回
类型参数
TComponent
GetPlugin<TComponent>()
获取组件
public TComponent? GetPlugin<TComponent>() where TComponent : class
返回
- TComponent
类型参数
TComponent