Пример #1
0
        public void Consume(UserValidated message)
        {
            // at this point, the user has clicked the link in the validation e-mail
            // and we can commit the user record to the database as a verified user

            Bus.Publish(new UserRegistrationComplete(CorrelationId));

            Complete();
        }
Пример #2
0
 // i want to auto-wire these to a ghost consumer that just invokes the event and makes this unnecessary
 public void Consume(UserValidated message)
 {
     RaiseEvent(EmailValidated, message);
 }