Beispiel #1
0
        public void setState(BaseState state)
        {
            Console.WriteLine("Set State to: " + state.GetType().Name);

            _state = state;
            _state.SetWorkItem(this);
        }
Beispiel #2
0
 public WorkItem(BaseState state)
 {
     _state = state;
     _state.SetWorkItem(this);
 }