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>Default constructor for StutterIteration</summary>
        /// <param name="task">The task to perform during the iteration.</param>
        /// <param name="phraseLength">The time to spend working.</param>
        /// <param name="blockLength">The time to spend resting.</param>
        public StutterIteration(StutterTask task, TimeSpan phraseLength, TimeSpan blockLength)
        {
            Task = task;
            PhraseLength = phraseLength;
            BlockLength = blockLength;

            CreateTimer();
        }
Ejemplo n.º 3
0
 public TaskModeEventArgs(StutterTask task, TaskMode mode)
 {
     Task = task;
     Mode = mode;
 }