public SetDataController(IUnitOfWork unitOfWork, IEmailSender emailSender, IWebHostEnvironment env, ITelegramService telegramService) { _unitOfWork = unitOfWork; _emailSender = emailSender; _env = env; _telegramService = telegramService; }
public BotController(IOptions <Settings> settings, ITelegramService botService, IVkGroupsSearcher groupSearcher) { _settings = settings; _botService = botService; _vkGroupSearcher = groupSearcher; _logger = LogManager.GetCurrentClassLogger(); }
public FunctionHelperService(IGoogleCalendarService googleCalendarService, ITelegramService telegramService, EventRepository eventRepository) { _googleCalendarService = googleCalendarService; _telegramService = telegramService; _eventRepository = eventRepository; }
public ScheduleController(OneMoreContext context, IMailService mailService, IVKService vkService, ITelegramService telegramService) { _context = context; _mailService = mailService; _vkService = vkService; _telegramService = telegramService; }
public TelegramBotHostedService( ITelegramService telegramService, IServiceProvider serviceProvider) { _telegramService = telegramService; _serviceProvider = serviceProvider; }
public TestHandler(ILoggerFactory loggerFactory, IEventService eventService, ITelegramService telegramService, IEasyCronService easyCronService, IOcrService ocrSpaceService) { _logger = loggerFactory.CreateLogger <TestHandler>(); _eventService = eventService; _telegramService = telegramService; _easyCronService = easyCronService; _ocrSpaceService = ocrSpaceService; }
public ThursdayHandler(ILoggerFactory loggerFactory, IEventService eventService, ITwitterService twitterService, IHttpClientFactory httpClientFactory, ITelegramService telegramService) { _logger = loggerFactory.CreateLogger <ThursdayHandler>(); _eventService = eventService; _twitterService = twitterService; _httpClient = httpClientFactory.CreateClient(); _telegramService = telegramService; }
public HtmlNotification(/*ApplicationContext context, */ ITelegramService telegramService) { /*this._context = context;*/ this._telegramService = telegramService; this._uris = new ConcurrentStack <ScaningUriModel>(); }
public HookController( ITelegramService telegramServiceService, GitHubService gitHubService ) { _telegramService = telegramServiceService; _gitHubService = gitHubService; }
public SearchController(IYoutubeService youtubeService, IVkService vkService, IUserPostService userPostService) { _youtubeService = youtubeService; _userPostService = userPostService; _vkService = vkService; // Telegram api (TLSharp) does not work in ASP MVC, but it work through WCF Service _telegramService = new TelegramServiceClient(); }
public ImageProcessor(ILogger <ImageProcessor> logger, IDeepStackService deepStackService, ITelegramService telegramService, ITriggerService triggerService) { _logger = logger; _deepStackService = deepStackService; _telegramService = telegramService; _triggerService = triggerService; }
public StartCommandProcessor( IBotSendMessageService botSendMessageService, ITelegramService telegramService, ILogger <BaseCommandProcessor <BotCommand> > logger) : base(botSendMessageService, logger) { _telegramService = telegramService; _botSendMessageService = botSendMessageService; }
public MessageLogModel( ITelegramService telegramService, IMessageAuditService messageAuditService) { _telegramService = telegramService; _messageAuditService = messageAuditService; Messages = new List <TelegramMessage>(); }
public NotificationJob(INotificationService notificationService, IEmailService emailService, ITelegramService telegramService, ILoggerFactory loggerFactory) { _notificationService = notificationService; _emailService = emailService; _telegramService = telegramService; _logger = loggerFactory.CreateLogger("NotificationJobLogger"); }
public TweetReaderServcie(IConfiguration config, IHttpClientFactory clientFactory, TwitterStayInformdContext context, ITelegramService telegramService) { _config = config; _client = clientFactory.CreateClient(); _context = context; _telegramService = telegramService; _baseurl = "https://api.twitter.com/1.1/"; }
public HomeController(ILogger <HomeController> logger, IVenjixOptionsService optionsService, IMapper mapper, ITelegramService telegramService, HealthCheckService healthCheck, VenjixContext context) { _logger = logger; _optionsService = optionsService; _mapper = mapper; _telegramService = telegramService; _healthCheck = healthCheck; _context = context; }
public AdminHub( ILogger <AdminHub> logger, ITelegramSession telegramSession, ITelegramService telegramService) { _logger = logger; _telegramSession = telegramSession; _telegramService = telegramService; }
public MessageHandlerImpl(ITelegramService telegramService, IOptions <MessageHandlerOptions> options, ILogger <MessageHandlerImpl> logger) { this.telegramService = telegramService; this.options = options.Value; this.options.ThrowIfInvalid(); this.logger = logger; }
public TriggerRunnerService(ILogger <TriggerRunnerService> logger, IMemoryCache cache, ITelegramService telegram, IServiceScopeFactory scopeFactory, IVenjixOptionsService optionsService, IHttpClientFactory httpClientFactory) { _logger = logger; _cache = cache; _telegram = telegram; _scopeFactory = scopeFactory; _optionsService = optionsService; _httpClientFactory = httpClientFactory; }
public CreateTaskCommandProcessor( IBotSendMessageService botSendMessageService, ITelegramService telegramService, ITaskServiceApp taskServiceApp, ILogger <BaseCommandProcessor <BotCommand> > logger) : base(botSendMessageService, logger) { _botSendMessageService = botSendMessageService; _telegramService = telegramService; _taskServiceApp = taskServiceApp; }
public CredentialsVerificationHostedService(ITwitterService twitter, ITelegramService telegram, IFacebookService facebook, ILogger <CredentialsVerificationHostedService> logger) { this.twitter = twitter; this.telegram = telegram; this.facebook = facebook; this.logger = logger; }
public KyberNtf( ITelegramService telegramService, IEtherScanService etherScanService, IEthPlorerService ethPlorerService ) { _telegramService = telegramService; _etherScanService = etherScanService; _ethPlorerService = ethPlorerService; }
public TelegramController( ITelegramService telegram, ISessionService session, IReceiverService receiver ) { _telegram = telegram; _session = session; _receiver = receiver; }
public TelegramYahooIntegrationFacts() { _module = new TestModule(); var kernel = new StandardKernel(_module); _telegramService = kernel.Get <ITelegramService>(); _telegramService.UpdatesProcessed += () => { }; }
public GoogleSearchService(IConfiguration configuration, ITelegramService telegramService) { this._telegramService = telegramService; this._jsonService = new JsonService(); this._httpService = new HttpService(); this._configuration = configuration; }
public HtmlService(ITelegramService telegramService) { this._telegramService = telegramService; this._emailValidation = new EmailValidation(); this._httpService = new HttpService(); this._htmlParser = new HtmlParser(); }
public HomeController(UserManager <User> userManager, ITelegramService telegramService, ApplicationContext context) { this._userManager = userManager; this._context = context; this._telegramService = telegramService; }
public SocialService(ITelegramService telegram, IFacebookService facebook, ITwitterService twitter, ILogger <SocialService> logger) { this.telegram = telegram; this.facebook = facebook; this.twitter = twitter; this.logger = logger; }
public Validator(ITelegramService telegramService) { _telegramService = telegramService; RuleFor(x => x.UserId).NotEmpty(); RuleFor(x => x).CustomAsync(async(command, context, token) => { await HasAccessToPeerAsync(command, context).ConfigureAwait(false); }); }
public EmailController(UserManager <User> userManager, SignInManager <User> signInManager, IEmailSender emailSender, ITelegramService telegramService) { _userManager = userManager; _signInManager = signInManager; _emailSender = emailSender; _telegramService = telegramService; }