Method | Description | |
---|---|---|
UserRegisteredAccountEvent ( System.Guid accountId, Email email, AccountManagement.Domain.Shared.Password password ) : System |
The constructor should guarantee that the event is correctly created. Once again we are saved from doing work here by using value objects for Email and Password The base class will ensure that the GUID is not empty.
|
Method | Description | |
---|---|---|
UserRegisteredAccountEvent ( ) : System |
public UserRegisteredAccountEvent ( System.Guid accountId, Email email, AccountManagement.Domain.Shared.Password password ) : System | ||
accountId | System.Guid | |
password | AccountManagement.Domain.Shared.Password | |
return | System |