public DataTablesDomainService(IDataTablesRepository dataTablesRepository, IUnitOfWorkFactory unitOfWorkFactory, ITableColumnsRepository tableColumnsRepository) { _dataTablesRepository = dataTablesRepository; _unitOfWorkFactory = unitOfWorkFactory; _tableColumnsRepository = tableColumnsRepository; }
public DataSourceFieldAccessValidator( [NotNull] IDataSourceAccessValidator dataSourceAccessValidator, [NotNull] ITableColumnsRepository tableColumnsRepository) { if (dataSourceAccessValidator == null) { throw new ArgumentNullException(nameof(dataSourceAccessValidator)); } if (tableColumnsRepository == null) { throw new ArgumentNullException(nameof(tableColumnsRepository)); } _dataSourceAccessValidator = dataSourceAccessValidator; _tableColumnsRepository = tableColumnsRepository; }