예제 #1
0
        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);
        }
예제 #2
0
        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;
        }