public YoutubeController(IYoutubeHelper youtubeHelper, IOptions <YoutubeSettings> youtubeSettings, IDbRepository dbRepository, IHostingEnvironment hostingEnv)
 {
     _youtubeHelper   = youtubeHelper;
     _youtubeSettings = youtubeSettings.Value;
     _dbRepository    = dbRepository;
     _hostingEnv      = hostingEnv;
 }
Exemple #2
0
 public Youtube()
 {
     Driver   = WebDriver.Driver();
     Settings = new YoutubeSettings();
     NavigateTo(Url);
 }
 public YoutubeHelper(IHostingEnvironment hostingEnv, IOptions <YoutubeSettings> youtubeSettings, IDbRepository dbRepository)
 {
     _hostingEnv      = hostingEnv;
     _youtubeSettings = youtubeSettings.Value;
     _dbRepository    = dbRepository;
 }