protected BaseAccountCommandHandler(ICommandStackRepository <Domain.AccountDomainModel> repository) { if (repository == null) { throw new InvalidOperationException("Repository is not initialized."); } this.Repository = repository; }
public ContactChangedEventHandler(ICommandStackRepository <Domain.CustomerDomainModel> repository, ICommandStackDatabase database) : base(database) { if (repository == null) { throw new InvalidOperationException("Repository is not initialized."); } this._repository = repository; }
public BalanceChangedEventHandler(ICommandStackRepository <Domain.AccountDomainModel> repository, ICommandStackDatabase database) : base(database) { if (repository == null) { throw new ArgumentNullException($"Repository was not initialized"); } this._repository = repository; }
public AccountLockedEventHandler(ICommandStackDatabase database, ICommandStackRepository <AccountDomainModel> repository) : base(database) { if (repository == null) { throw new InvalidOperationException("Repository is not initialized."); } this._repository = repository; }
protected Saga( IBus bus, ICommandStackRepository repository) { if (bus == null) { throw new ArgumentNullException($"bus"); } if (repository == null) { throw new ArgumentNullException($"repository"); } this.Bus = bus; this.Repository = repository; }
public MoneyTransferSaga(IBus bus, ICommandStackRepository repository) : base(bus, repository) { }
public UnlockAccountCommandHandler(ICommandStackRepository <Domain.AccountDomainModel> repository) : base(repository) { }
public ChangePersonDetailsCommandHandler(ICommandStackRepository <Domain.CustomerDomainModel> repository) : base(repository) { }
public ChangeAddressDetailsSaga( IBus bus, ICommandStackRepository repository) : base(bus, repository) { }
public ChangeBalanceCommandHandler(ICommandStackRepository <Domain.AccountDomainModel> repository) : base(repository) { }
public DeleteCustomerSaga( IBus bus, ICommandStackRepository repository) : base(bus, repository) { }
public CreateCustomerCommandHandler(ICommandStackRepository <Domain.CustomerDomainModel> repository) : base(repository) { }
public AccountSaga(IBus bus, ICommandStackRepository repository) : base(bus, repository) { }
public ChangeContactDetailsSaga( IBus bus, ICommandStackRepository repository) : base(bus, repository) { }
public AddAccountCommandHandler(ICommandStackRepository <CustomerDomainModel> repository) : base(repository) { }