Exemplo n.º 1
0
 public BaseActivityContext BuildContext(UserActivity activity, BaseAggregation aggregation)
 {
     var aggr = aggregation as UpdateAggregation;
       return new UpdateActivityContext(activity, aggr.CurrentEvent, aggr.PreviousEvent);
 }
Exemplo n.º 2
0
 public BaseActivityContext BuildContext(UserActivity activity, BaseAggregation aggregation)
 {
     return new BaseActivityContext(activity, aggregation.CurrentEvent);
 }