コード例 #1
0
 public void Handle(AccountCreated message)
 {
     SendNotification(message.StreamId, string.Format("Account {0} created", message.Email));
 }
コード例 #2
0
 public static void OnAccountCreated(AccountCreated msg)
 {
     Email = msg.Email;
     Hash = msg.PasswordHash;
 }
コード例 #3
0
 void Apply(AccountCreated evt)
 {
     Email = evt.Email;
     PasswordHash = evt.PasswordHash;
 }