Пример #1
0
 public void Apply(RoutePlanned @event)
 {
     Status = RouteStatus.Planned;
     Date   = @event.Date;
 }
Пример #2
0
 private void RoutePlanned(RouteDetails routeDetails, RoutePlanned @event)
 {
     routeDetails.Status       = "Planned";
     routeDetails.PlannedDate  = @event.Date;
     routeDetails.PlannedSince = DateTime.Now;
 }