Inheritance: AbstractDeliveryState
コード例 #1
0
ファイル: InTranzitState.cs プロジェクト: lenamduytuan/uCRM
 public override void Continue()
 {
     NextState = new DelieveredState(product_on_the_way.product);
     Console.WriteLine("Product is currently in tranzit");
     product_on_the_way.ContinueToNextState(NextState);
 }
コード例 #2
0
ファイル: InTranzitState.cs プロジェクト: bytecode0101/uCRM
 public override void Continue()
 {
     NextState = new DelieveredState(product_on_the_way.product);
     Console.WriteLine("Product is currently in tranzit");
     product_on_the_way.ContinueToNextState(NextState);
 }