Inheritance: IObject, IObjectDecorator
コード例 #1
0
 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));
 }
コード例 #2
0
ファイル: TransactionalValue.cs プロジェクト: ajlopez/AjTalk
 public TransactionalValue(TransactionalObject trobj, int position)
 {
     this.trobj = trobj;
     this.position = position;
 }