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