public FilterManager(ILogger logger, IMapperResolver mapper, IDatamartRepository datamartRepository, IFilterRepository filterRepository, IGroupRepository groupRepository, IFilterValueRepository filterValueRepository)
 {
     _logger                = logger;
     _mapper                = mapper;
     _repository            = filterRepository;
     _groupRepository       = groupRepository;
     _filterValueRepository = filterValueRepository;
     _datamartRepository    = datamartRepository;
 }
Esempio n. 2
0
        public static TTo[] MapToArray <TFrom, TTo>(this IMapperResolver <TTo> mapper, IEnumerable <TFrom> items, params object[] options)
        {
            var opt = new MappingOptions(options);

            return(mapper.Map(items, opt).ToArray());
        }
Esempio n. 3
0
        public static TTo Map <TFrom, TTo>(this IMapperResolver <TTo> mapper, TFrom item, params object[] options)
        {
            var opt = new MappingOptions(options);

            return(mapper.Map(item, opt, opt.Get <TTo>()));
        }
 public SavedIdsManager(ILogger logger, IMapperResolver mapper, ISavedIdsRepository repository)
 {
     _logger     = logger;
     _mapper     = mapper;
     _repository = repository;
 }
 public ListInProgressManager(ILogger logger, IMapperResolver mapper, IListInProgressRepository repository)
 {
     _logger     = logger;
     _mapper     = mapper;
     _repository = repository;
 }
Esempio n. 6
0
 public UserManager(ILogger logger, IMapperResolver mapperResolver, IUserRepository userRepository)
 {
     this._logger     = logger;
     this._mapper     = mapperResolver;
     this._repository = userRepository;
 }
 public DatamartManager(ILogger logger, IMapperResolver mapperResolver, IDatamartRepository datamartRepository)
 {
     this._logger     = logger;
     this._mapper     = mapperResolver;
     this._repository = datamartRepository;
 }
Esempio n. 8
0
 public ServiceClient(IHttpClient httpClient, IMapperResolver mapperResolver)
 {
     _httpClient     = httpClient;
     _mapperResolver = mapperResolver;
 }
 public SavedFilterManager(ILogger logger, IMapperResolver mapperResolver, ISavedFilterRepository savedFilterRepository)
 {
     this._logger     = logger;
     this._mapper     = mapperResolver;
     this._repository = savedFilterRepository;
 }