public EventSubscribers(IEntityContext<AccountOverview> entityContext, AccountBalanceChanged accountBalanceChanged) { _entityContext = entityContext; _accountBalanceChanged = accountBalanceChanged; }
public void OnAccountBalanceChanged(AccountBalanceChanged callback) { _accountBalanceChangedCallbacks.Add(callback); }