コード例 #1
0
 public void DeleteAccount()
 {
     DomainEventsHandler.Raise(new AccountDeleted {
         Id = this.Id
     });
 }
コード例 #2
0
 public void CreateNewAccount()
 {
     DomainEventsHandler.Raise(new AccountCreated {
         Id = this.Id, Name = this.Name
     });
 }