コード例 #1
0
 public override void VisitCustomerCommand(NewCustomerCommand customerCommand)
 {
     report.AppendLine($"New customer request: {customerCommand.Name} in business: {customerCommand.BusinessDomain}");
 }
コード例 #2
0
 public override void VisitCustomerCommand(NewCustomerCommand customerCommand)
 {
     Console.WriteLine($"We have new customer! {customerCommand.Name} welcome!");
 }
コード例 #3
0
 public override void VisitCustomerCommand(NewCustomerCommand customerCommand)
 {
     toSave.Add(customerCommand);
 }