devCrowd-Team / fluent-cqrs

My Next Generation CQRS Framework for .Net Applications
MIT License
17 stars 7 forks source link

Renamed most replay functions #7

Closed SCullman closed 9 years ago

SCullman commented 9 years ago

Renaming

_aggregates
    .ReplayEventsFor<[AnAggregateYouLike]>()
    .All() | .WithId(aggrId)
    .OfMessageType<[AnEvent]>()
    .ToAllEventHandlers();

to

_aggregates
    .ReplayFor<[AnAggregateYouLike]>()
    .AllEvents() | .EventsWithAggregateId(aggrId)
    .OfType<[AnEvent]>()
    .ToAllEventHandlers() | .To([OneOfYourEventHandler]);
SCullman commented 9 years ago

Thanks.