static void OnPasswordChanged(PasswordChanged msg)
 {
     NewPasswordHash = msg.PasswordHash;
 }
 public void Handle(PasswordChanged message)
 {
     SendNotification(message.StreamId, "Password was changed.");
 }
 static void OnPasswordChanged(PasswordChanged msg)
 {
     PasswordChanged = true;
 }
 void Apply(PasswordChanged evt)
 {
     PasswordHash = evt.PasswordHash;
 }