public ParameterDic(IParameterDicStore store, ParameterPair[] ppairs) : this(store) { foreach (var ppair in ppairs) { this._store.Add(ppair.Key, ppair.Value); } }
public ParameterDic(IParameterDicStore store, params IParameterDic[] dics) { _store = store ?? new MemoryParameterDicStore(); foreach (var dic in dics) { foreach (string key in dic.List()) { this._store.Add(key, dic.Get(key)); } } }
public ParameterDic(IParameterDicStore store = null) { _store = store ?? new MemoryParameterDicStore(); }