示例#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;
        }