Exemple #1
0
 public void When(UserRegistrationStarted @event)
 {
     LoginName     = @event.Name;
     LoginPassword = @event.Password;
     Status        = "Started";
 }
Exemple #2
0
        public void StartRegistration(string name, string password)
        {
            var e = new UserRegistrationStarted(name, password);

            Apply(e);
        }