Created
December 17, 2014 09:54
-
-
Save JefClaes/865778a8dad9c9cdc44d to your computer and use it in GitHub Desktop.
CommandProjection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| new CommandProjection("CasinoClerkReferralsProjection", _bus) | |
| .FromEvents((eventId) => _store.GetEvents(eventId)) | |
| .When<CashUserRegisteredInCasino>(e => new AwardReferralFee(x, y, z)) | |
| .Run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment