/// <summary> /// Установить контекст для менеджеров /// </summary> protected void SetContextForManagers() { _vkManager = new VkManager(); _classmatesManager = new ClassmatesManager(); _yandexZenManager = new YandexZenManager(); _tumblrManager = new TumblrManager(); _redditManager = new RedditManager(); _quoraManager = new QuoraManager(); _vimeoManager = new VimeoManager(); _logManager = new LogManager(); var driver = GetDriver(); _vkManager.SetContextBrowserManager(driver); _classmatesManager.SetContextBrowserManager(driver); _yandexZenManager.SetContextBrowserManager(driver); _tumblrManager.SetContextBrowserManager(driver); _redditManager.SetContextBrowserManager(driver); _quoraManager.SetContextBrowserManager(driver); _vimeoManager.SetContextBrowserManager(driver); }
public RedditController(IReddit repo) { redditRepository = repo; }