Inheritance: IObject, IObjectDecorator
 public void Setup()
 {
     this.machine = new Machine();
     this.manager = new TransactionManager(this.machine);
     this.obj = new BaseObject(null, new object[] { 1, 2, 3 });
     this.trobj = new TransactionalObject(this.obj, new TransactionManager(this.machine));
 }
Beispiel #2
0
 public TransactionalValue(TransactionalObject trobj, int position)
 {
     this.trobj = trobj;
     this.position = position;
 }