public void Handle(AccountRegisteredEvent @event) { if (AccountInfos.All(x => x.AccountId != @event.AccountId)) AccountInfos.Add(new AccountInfo {AccountId = @event.AccountId}); }