Example #1
0
 public void When(SampleCreated e)
 {
     Id = e.Id;
 }
Example #2
0
 public Task HandleAsync(SampleCreated @event)
 {
     State.Id = @event.Id;
     return(Task.CompletedTask);
 }