예제 #1
0
 public void Dispose()
 {
     using (this.commandWatcher)
     using (this.activationWatcher)
     {
         this.commandWatcher = null;
         this.activationWatcher = null;
     }
 }
예제 #2
0
 public void StartRecording()
 {
     this.ClearData();
     this.commandWatcher = this.commandWatcher ?? new CommandExecutionWatcher(this.serviceProvider);
     this.recording = true;
 }