Beispiel #1
0
 public KneatService(
     ISwapiService swapiService,
     ILogger <KneatService> logger)
 {
     _swapiService = swapiService;
     _logger       = logger;
 }
Beispiel #2
0
 public void SetService(ISwapiService service)
 {
     _apiService = service;
 }
Beispiel #3
0
 public HomeController(ILogger <HomeController> logger, ISwapiService swapiService)
 {
     _logger       = logger;
     _swapiService = swapiService;
 }
 public HomeController(ISwapiService swapiService)
 {
     _swapiService = swapiService;
 }
Beispiel #5
0
 public SwapiServiceTest(Fixture fixture)
 {
     _swapiService = fixture.ServiceProvider.GetService(typeof(ISwapiService)) as ISwapiService;
 }