コード例 #1
0
 public ProducersControllerTests()
 {
     breadcumbService = A.Fake<BreadcrumbService>();
     producerSearcher = A.Fake<ISearcher<ProducerSearchResult>>();
     weeeClient = A.Fake<IWeeeClient>();
     cache = A.Fake<IWeeeCache>();
 }
コード例 #2
0
 public ProducersController(BreadcrumbService breadcrumb, ISearcher<ProducerSearchResult> producerSearcher, Func<IWeeeClient> apiClient, IWeeeCache cache)
 {
     this.breadcrumb = breadcrumb;
     this.producerSearcher = producerSearcher;
     this.apiClient = apiClient;
     this.cache = cache;
 }
コード例 #3
0
 public HomeController(Func<IWeeeClient> apiClient, IWeeeCache cache, BreadcrumbService breadcrumb, CsvWriterFactory csvWriterFactory, ConfigurationService configService)
 {
     this.apiClient = apiClient;
     this.cache = cache;
     this.breadcrumb = breadcrumb;
     this.csvWriterFactory = csvWriterFactory;
     this.configurationService = configService;
 }
コード例 #4
0
 public HomeController(BreadcrumbService breadcrumb, IWeeeCache cache)
 {
     this.breadcrumb = breadcrumb;
     this.cache = cache;
 }
コード例 #5
0
 public UserController(Func<IWeeeClient> apiClient, IWeeeCache cache, BreadcrumbService breadcrumb)
 {
     this.apiClient = apiClient;
     this.cache = cache;
     this.breadcrumb = breadcrumb;
 }