public LevelAnalog190Ohm(IConfiguration config, IDatabase database, IGadgetService gadgetService, IGadgetActionService gadgetActionService) { _config = config; _database = database; _gadgetActionService = gadgetActionService; _gadgetService = gadgetService; }
public void setup() { _factoryFake = Substitute.For <IDbFactory>(); _unitOfWorkFake = Substitute.For <IUnitOfWork>(); _gadgetRepFake = Substitute.For <IGadgetRepository>(); _categoryRepFake = Substitute.For <ICategoryRepository>(); _categoryService = Substitute.For <ICategoryService>(); _gadgetService = Substitute.For <IGadgetService>(); _sut = new HomeController(_categoryService, _gadgetService); }
public HomeController(ICategoryService categoryService, IGadgetService gadgetService) { this.categoryService = categoryService; this.gadgetService = gadgetService; }
public GadgetsController(IGadgetService gadgetService, IMapper mapper) { _gadgetService = gadgetService; _mapper = mapper; }
public SettingsService(IConfiguration config, IDatabase database, IGadgetService gadgetService) { _config = config; _database = database; _gadgetService = gadgetService; }
public HomeController(ICategoryService categoryService, IGadgetService gadgetService) { _categoryService = categoryService; _gadgetService = gadgetService; }
public GameStartController(ICategoryService categoryService, IGadgetService gadgetService) { this.categoryService = categoryService; this.gadgetService = gadgetService; }
public GadgetController(ILogger <GadgetController> logger, IGadgetService gadgetService) { _logger = logger; _gadgetService = gadgetService; }
//Pass the DI for the services StoresController(ICategoryService categoryService, IGadgetService gadgetService) { this.categoryService = categoryService; this.gadgetService = gadgetService; }
public HomeController(ICategoryService categoryService, IGadgetService gadgetService, ICategoryRepository categorysRepository) { this.categoryService = categoryService; this.gadgetService = gadgetService; this.categorysRepository = categorysRepository; }