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