Esempio n. 1
0
 public ParameterDic(IParameterDicStore store, ParameterPair[] ppairs)
     : this(store)
 {
     foreach (var ppair in ppairs)
     {
         this._store.Add(ppair.Key, ppair.Value);
     }
 }
Esempio n. 2
0
        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));
                }
            }
        }
Esempio n. 3
0
 public ParameterDic(IParameterDicStore store = null)
 {
     _store = store ?? new MemoryParameterDicStore();
 }