Esempio n. 1
0
 public IndexService(ICounterService counterService, IMonthlySubscriptionService monthlySubscriptionService,
                     IVipTicketService vipTicketService, ICommentService commentService, IFreeTipsService freeTipsService, IHtmlService htmlService)
 {
     _counterService             = counterService;
     _monthlySubscriptionService = monthlySubscriptionService;
     _vipTicketService           = vipTicketService;
     _commentService             = commentService;
     _freeTipsService            = freeTipsService;
     _htmlService = htmlService;
 }
Esempio n. 2
0
 public TrackerForm(IHttpClientService httpClientService, ICharacterService characterService, IHtmlService htmlService)
 {
     this.httpClientService = httpClientService;
     this.characterService  = characterService;
     this.htmlService       = htmlService;
     InitializeComponent();
     InitializePosition();
     InitializeProgressEvents();
     SetTimer();
 }
 public QuizServiceTests()
 {
     _mockScraperHttpService  = Substitute.For <IGuardianScraperHttpService>();
     _mockHtmlService         = Substitute.For <IHtmlService>();
     _mockQuizMetadataService = Substitute.For <IQuizMetadataService>();
     _quizService             = new QuizService(
         _mockScraperHttpService,
         _mockHtmlService,
         _mockQuizMetadataService);
 }
 public CourseInstancesController(
     IAdminCourseInstancesService adminCourseInstancesService,
     IAdminCoursesService adminCoursesService,
     IAdminLecturersService adminLecturersService,
     IHtmlService htmlService)
 {
     this.adminCourseInstancesService = adminCourseInstancesService;
     this.adminCoursesService         = adminCoursesService;
     this.adminLecturersService       = adminLecturersService;
     this.htmlService = htmlService;
 }
Esempio n. 5
0
 public AdminController(IControllerActionService controllerActionService, IHtmlService htmlService,
                        ICommentService commentService, ISeoService seoService, IMonthlySubscriptionService monthlySubscriptionService, IFreeTipsService freeTipsService, IVipTicketService vipTicketService)
 {
     _controllerActionService = controllerActionService;
     _htmlService             = htmlService;
     _commentService          = commentService;
     _seoService = seoService;
     _monthlySubscriptionService = monthlySubscriptionService;
     _freeTipsService            = freeTipsService;
     _vipTicketService           = vipTicketService;
 }
Esempio n. 6
0
 public BlogController(
     IBlogService blogService,
     UserManager <User> userManager,
     IHostingEnvironment hostingEnvironment,
     IHtmlService html)
 {
     this.blogService        = blogService;
     this.userManager        = userManager;
     this.hostingEnvironment = hostingEnvironment;
     this.html = html;
 }
Esempio n. 7
0
 public PartnerController(
     IPartnerService partnerService,
     UserManager <User> userManager,
     IHostingEnvironment hostingEnvironment,
     IHtmlService html)
 {
     this.partnerService     = partnerService;
     this.userManager        = userManager;
     this.hostingEnvironment = hostingEnvironment;
     this.html = html;
 }
Esempio n. 8
0
 public HomeController(IIndexService indexService, IVipTicketService vipTicketService,
                       IMonthlySubscriptionService monthlySubscriptionService, IFreeTipsService freeTipsService,
                       IHtmlService htmlService, IControllerActionService controllerActionService)
 {
     _indexService               = indexService;
     _vipTicketService           = vipTicketService;
     _monthlySubscriptionService = monthlySubscriptionService;
     _freeTipsService            = freeTipsService;
     _htmlService             = htmlService;
     _controllerActionService = controllerActionService;
 }
Esempio n. 9
0
 public ResendUserInvitation(ApplicationDbContext dbContext,
                             IEmailService emailService,
                             IHtmlService htmlService,
                             ITokenService tokenService,
                             IGetInstallationTask getInstallationTask)
 {
     _dbContext           = dbContext;
     _emailService        = emailService;
     _htmlService         = htmlService;
     _tokenService        = tokenService;
     _getInstallationTask = getInstallationTask;
 }
Esempio n. 10
0
 public BookAppService(IConfiguration configuration,
                       IHtmlService htmlService,
                       IRepository <Book> bookRepository,
                       IHostingEnvironment hostingEnvironment, IRepository <Tag> tagRepository, IRepository <WxBookReport> wxBookReportRepository)
 {
     _configuration          = configuration;
     _htmlService            = htmlService;
     _bookRepository         = bookRepository;
     _hostingEnvironment     = hostingEnvironment;
     _tagRepository          = tagRepository;
     _wxBookReportRepository = wxBookReportRepository;
 }
Esempio n. 11
0
 public MainRunner(ISeleniumService seleniumService, ISeleniumInstanceService seleniumInstanceService, IEventTabellenParser eventTabellenParser, IHtmlService htmlService, ILogger <MainRunner> logger, IWordPressApi wordPressApi, ITelegramApi telegramApi, IYamlConfigService configService, IFileWriter fileWriter)
 {
     _seleniumService         = seleniumService;
     _seleniumInstanceService = seleniumInstanceService;
     _eventTabellenParser     = eventTabellenParser;
     _htmlService             = htmlService;
     _logger        = logger;
     _wordPressApi  = wordPressApi;
     _telegramApi   = telegramApi;
     _configService = configService;
     _fileWriter    = fileWriter;
 }
    public void SetUp()
    {
        _mockSectionExtractor  = Substitute.For <ISectionExtractor>();
        _mockHtmlStripper      = Substitute.For <IHtmlStripper>();
        _mockSectionSplitter   = Substitute.For <ISectionSplitter>();
        _mockQuestionAssembler = Substitute.For <IQuestionAssembler>();

        _htmlService = new HtmlService(
            _mockSectionExtractor,
            _mockHtmlStripper,
            _mockSectionSplitter,
            _mockQuestionAssembler);
    }
Esempio n. 13
0
 public ArticlesController(
     IArticlesModeratorService articlessService,
     IUsersService usersService,
     UserManager <User> userManager,
     IMapper mapper,
     IHtmlService htmlServise)
 {
     this.articlesService = articlessService;
     this.usersService    = usersService;
     this.userManager     = userManager;
     this.mapper          = mapper;
     this.htmlServise     = htmlServise;
 }
Esempio n. 14
0
 public FormService(
     IContext context,
     IEmailTemplateService emailTemplateService,
     IPdfService pdfService,
     IHtmlService htmlService,
     IHtmlDocumentService htmlDocumentService
     ) : base(context)
 {
     this.emailTemplateService = emailTemplateService;
     this.pdfService           = pdfService;
     this.htmlService          = htmlService;
     this.htmlDocumentService  = htmlDocumentService;
 }
Esempio n. 15
0
 public FeedSynchronizer(
     IFeedManager feedManager,
     IHtmlService htmlService,
     IMatchesProvider matchesProvider,
     IWebDriverFactory webDriverFactory,
     IUnprocessedFeedManager unprocessedFeedManager,
     IWebPagesService <RemoteWebDriver> webPagesService)
 {
     this.feedManager            = feedManager;
     this.htmlService            = htmlService;
     this.webPagesService        = webPagesService;
     this.matchesProvider        = matchesProvider;
     this.unprocessedFeedManager = unprocessedFeedManager;
     this.webDriver = webDriverFactory.CreateWebDriver(CommonConstants.FEED_PORT);
 }
 public ConfigurationForm(IFormService formService, IHttpClientService httpClientService, ISemaphoreService semaphoreService, IFormatterService formatterService, IHtmlService htmlService)
 {
     this.formService       = formService;
     this.httpClientService = httpClientService;
     this.semaphoreService  = semaphoreService;
     this.formatterService  = formatterService;
     this.htmlService       = htmlService;
     InitializeComponent();
     InitializeTranslations();
     InitializePosition();
     InitializeFontAndOptions();
     InitializeLanguagesCombo();
     InitializeLeagueRaceCombo();
     InitializeTemplates();
 }
Esempio n. 17
0
 public WxBookAppService(IRepository <WxBook> wxBookRepository,
                         IRepository <Book> bookRepository,
                         IHtmlService htmlService, IConfiguration configuration,
                         IRepository <WxUser> wxUserRepository, IBookAppService bookAppService,
                         IHostingEnvironment env, IRepository <Tag> tagRepository, IRepository <WxBookReport> bookReportRepository)
 {
     _wxBookRepository = wxBookRepository;
     _bookRepository   = bookRepository;
     _htmlService      = htmlService;
     _configuration    = configuration;
     _wxUserRepository = wxUserRepository;
     _bookAppService   = bookAppService;
     _env                  = env;
     _tagRepository        = tagRepository;
     _bookReportRepository = bookReportRepository;
     Logger                = NullLogger.Instance;
 }
Esempio n. 18
0
        public EmailParserController(IHtmlService htmlService,
                                     UserManager <User> userManager,
                                     IHtmlNotification htmlNotification,
                                     ITelegramService telegramService,
                                     ApplicationContext context)
        {
            this._userManager = userManager;

            this._htmlService = htmlService;

            htmlService.CreateHtmlNotification(htmlNotification);

            this._context = context;

            this._htmlNotification = htmlNotification;

            this._telegramService = telegramService;
        }
Esempio n. 19
0
 public AcceptUserInvitation(ApplicationDbContext dbContext,
                             IEmailService emailService,
                             IHtmlService htmlService,
                             ITokenService tokenService,
                             IAddPersonTask addPersonTask,
                             IAddArtistMemberTask addArtistMember,
                             IAddArtistManagerTask addArtistManager,
                             IGetInstallationTask getInstallationTask)
 {
     _dbContext           = dbContext;
     _emailService        = emailService;
     _htmlService         = htmlService;
     _tokenService        = tokenService;
     _addPersonTask       = addPersonTask;
     _addArtistMember     = addArtistMember;
     _addArtistManager    = addArtistManager;
     _getInstallationTask = getInstallationTask;
 }
 public HomeController(
     IMovieDbService movieDbService,
     IBlurayDotComService blurayDotComService,
     IBoxOfficeMojoService boxOfficeMojoService,
     IDvdEmpireService dvdEmpireService,
     IHtmlService htmlService,
     IImdbService imdbService,
     IMapper mapper,
     IRottenTomatoesService rottenTomatoesService)
 {
     this.movieDbService = movieDbService;
     this.blurayDotComService = blurayDotComService;
     this.boxOfficeMojoService = boxOfficeMojoService;
     this.dvdEmpireService = dvdEmpireService;
     this.htmlService = htmlService;
     this.imdbService = imdbService;
     this.mapper = mapper;
     this.rottenTomatoesService = rottenTomatoesService;
 }
Esempio n. 21
0
 public JavScrapeService(IAppLogger <JavScrapeService> logger, IOptionsSnapshot <JavlibSettings> javlibSettings,
                         IMovieService movieService,
                         IActorService actorService,
                         ICategoryService categoryService,
                         ICompanyService companyService,
                         IDirectorService directorService,
                         IPublisherService publisherService,
                         IHtmlService htmlService)
 {
     _logger           = logger;
     _javlibSettings   = javlibSettings.Value;
     _movieService     = movieService;
     _actorService     = actorService;
     _categoryService  = categoryService;
     _companyService   = companyService;
     _directorService  = directorService;
     _publisherService = publisherService;
     _htmlService      = htmlService;
 }
Esempio n. 22
0
 public ArticlesController(IBlogArticleService articles, IHtmlService html, UserManager <User> userManager)
 {
     this.articles    = articles;
     this.html        = html;
     this.userManager = userManager;
 }
Esempio n. 23
0
 public SummaryTagHelper(IHtmlService htmlService)
 {
     _htmlService = htmlService;
 }
Esempio n. 24
0
 public InstagramService()
 {
     _htmlService = new HtmlService();
     _jsonService = new JsonService();
 }
 public CacheService(IScopeProvider scopeProvider, ILogger logger, IUmbracoContextFactory umbracoContextFactory, IHtmlService htmlService)
 {
     _scopeProvider         = scopeProvider;
     _logger                = logger;
     _umbracoContextFactory = umbracoContextFactory;
     _htmlService           = htmlService;
 }
Esempio n. 26
0
 public ControllerActionService(ISeoService seoService, IHtmlService htmlService)
 {
     _seoService  = seoService;
     _htmlService = htmlService;
 }
Esempio n. 27
0
 public MonthlySubscriptionService(IRepository <RMatch> matchRepository, IHtmlService htmlService)
 {
     _matchRepository = matchRepository;
     _htmlService     = htmlService;
 }
 public EmailTemplateService(InstructorIQContext dataContext, IMemoryCache cache, IOptions <SmtpConfiguration> smtpOptions, IHtmlService htmlService)
 {
     _dataContext = dataContext;
     _cache       = cache;
     _smtpOptions = smtpOptions;
     _htmlService = htmlService;
 }
 public ArticlesController(IHtmlService htmlService, IBlogArticleService articleService, UserManager <User> userManager)
 {
     this.htmlService    = htmlService;
     this.articleService = articleService;
     this.userManager    = userManager;
 }
Esempio n. 30
0
 public ArticlesController(IArticleService articleService, UserManager <User> userManager, IHtmlService sanitizer)
 {
     this.articleService = articleService;
     this.userManager    = userManager;
     this.sanitizer      = sanitizer;
 }