コード例 #1
0
 public Task Handle(LoginReservedEvent e, ICommand c)
 {
     //System.Console.WriteLine("Login reserver: " + e.Metadata.AggregateId + " for " + e.UserId);
     return(Task.CompletedTask);
 }
コード例 #2
0
 public void OnEvent(LoginReservedEvent e)
 {
     UserId = e.UserId;
 }