Exemplo n.º 1
0
 //In the future if we will get too many injected services here, we could use MediatR to avoid that "constructor explosion"
 public RepositoriesController(IRepoStatisticsService repoStatisticsService, ErrorCodeMapper errorMapper)
 {
     _repoStatisticsService = repoStatisticsService;
     _errorMapper           = errorMapper;
 }
 public RoundedStatisticsDecorator(IRepoStatisticsService innerService)
 {
     _innerService = innerService;
 }
 public OrderedLettersStatisticsDecorator(IRepoStatisticsService innerService)
 {
     _innerService = innerService;
 }