Beispiel #1
0
 public void nextState(pkge pkge)
 {
     pkge.status = new SCompleated();
 }
Beispiel #2
0
 public void prevState(pkge pkge)
 {
     pkge.status = new SOnTheWay();
 }
Beispiel #3
0
 public void nextState(pkge pkge)
 {
     pkge.status = new SSortingCenter();
 }
Beispiel #4
0
 public void prevState(pkge pkge)
 {
     Console.WriteLine("this is the first state!");
 }
Beispiel #5
0
 public void nextState(pkge pkge)
 {
     Console.WriteLine("this is the final state!");
 }
Beispiel #6
0
 void IRepository <pkge> .Update(pkge item)
 {
     throw new NotImplementedException();
 }