コード例 #1
0
 public HomeController(IAirplaneClient airplanes, IAirplaneRepository airplaneRepository, ITSAClient airportClient, IAirportCodeClient airportCodeClient)
 {
     _airplanes          = airplanes;
     _airplaneRepository = airplaneRepository;
     _airportClient      = airportClient;
     _airportCodeClient  = airportCodeClient;
 }
コード例 #2
0
 public HomeController(IAirplaneClient airplanes, IAirplaneRepository airplaneRepository, ITSAClient airportClient, IAirportCodeClient airportCodeClient, IOptions <APISecretConfig> googleClient)
 {
     _airplanes          = airplanes;
     _airplaneRepository = airplaneRepository;
     _airportClient      = airportClient;
     _airportCodeClient  = airportCodeClient;
     _googleClient       = googleClient.Value.GoogleKey;
 }
コード例 #3
0
 public HomeController(ITSAClient airportClient, IAirportCodeClient airportCodeClient)
 {
     _airportClient     = airportClient;
     _airportCodeClient = airportCodeClient;
 }