コード例 #1
0
 protected override void ExecuteVirtual()
 {
     exampleRandomBoolCommand = new ExampleRandomBoolCommand();
     // you could also keep a local reference to the ExampleDataObject.
     exampleRandomBoolCommand.Init(new ExampleDataObject());
     exampleRandomBoolCommand.AddCallback(this);
     exampleRandomBoolCommand.Execute();
 }
コード例 #2
0
 protected override void DisposeVirtual()
 {
     exampleRandomBoolCommand.Dispose();
     exampleRandomBoolCommand = null;
 }