Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SerialExecutorState{T}"/>
 /// by using the specified executor delegate and its associated state.
 /// </summary>
 /// <param name="runnable"></param>
 /// <param name="state"></param>
 public SerialExecutorState(RunnableDelegate runnable,
                            ExecutorState <T> state) : base(state)
 {
     runnable_ = runnable;
 }
Example #2
0
 static ExecutorState()
 {
     no_state_executor_state = new NoStateExecutorState <T>();
 }