Ejemplo n.º 1
0
 public StutterTimerEvent(StutterTask task, TimeSpan elapsed, TimeSpan total, StutterTimedState state)
 {
     Task = task;
     Elapsed = elapsed;
     Total = total;
     State = state;
 }
Ejemplo n.º 2
0
        /// <summary>Begins a new block.</summary>
        public void BeginBlock()
        {
            // Set the current state.
            IterationState = StutterTimedState.Block;

            // Start the timer.
            StartTimer(BlockLength);
        }
Ejemplo n.º 3
0
        /// <summary>Begins a new phrase.</summary>
        public void BeginPhrase()
        {
            // Set the current state.
            IterationState = StutterTimedState.Phrase;

            // Start the timer.
            StartTimer(PhraseLength);
        }