internal string InsertPausePlaybackCommand() { if (CurrentState != State.Recording) { var message = "Method should be called only when recording"; throw new InvalidOperationException(message); } var pausePlaybackCommand = new DynCmd.PausePlaybackCommand(20); this.RecordCommand(pausePlaybackCommand); return(pausePlaybackCommand.Tag); }
internal string InsertPausePlaybackCommand() { if (CurrentState != State.Recording) { var message = "Method should be called only when recording"; throw new InvalidOperationException(message); } var pausePlaybackCommand = new DynCmd.PausePlaybackCommand(20); this.RecordCommand(pausePlaybackCommand); return pausePlaybackCommand.Tag; }