public MyAggregate Apply(BEvent @event, MyAggregate aggregate) { return(new MyAggregate { ACount = aggregate.ACount, BCount = aggregate.BCount + 1, CCount = aggregate.CCount, DCount = aggregate.DCount, Id = aggregate.Id }); }
public SpecialUsages(BEvent @event) { B = 1; }
public void Apply(BEvent _) { BCount++; }
public AEvent Create(BEvent travel, IEvent e) { return(new AEvent()); }
public void Apply(BEvent @event, MyAggregate aggregate) { aggregate.BCount++; }