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