protected void OnUserValidated(UserValidatedEvent e) { _userState = UserState.Authenticated; }
public void Validated(Guid userID) { var e = new UserValidatedEvent(Guid.NewGuid(), Guid.Empty, Version + 1, DateTime.UtcNow) { UserID = userID, TimeStamp = DateTime.UtcNow }; ApplyEvent(e); }