Example #1
0
 internal Scope(PromiseFactory factory, DefinitionBag defs)
 {
     this._factory = factory;
     this._last    = null;
     this._defs    = new DefinitionBag(defs);
     this._result  = factory.CreateManual <ControlValue <T> >();
 }
Example #2
0
 public DefinitionBag(DefinitionBag parent)
 {
     this._parent = parent;
     this._bag    = new Dictionary <string, Value>();
 }