public StutterTimerEvent(StutterTask task, TimeSpan elapsed, TimeSpan total, StutterTimedState state) { Task = task; Elapsed = elapsed; Total = total; State = state; }
/// <summary>Begins a new block.</summary> public void BeginBlock() { // Set the current state. IterationState = StutterTimedState.Block; // Start the timer. StartTimer(BlockLength); }
/// <summary>Begins a new phrase.</summary> public void BeginPhrase() { // Set the current state. IterationState = StutterTimedState.Phrase; // Start the timer. StartTimer(PhraseLength); }