public DeletePackageTask( INotifierService notifier, ISupportService support) { this.notifier = notifier; this.support = support; }
public TaskerNotifier(INotifierService notifierService, IOptionsMonitor <TaskerConfiguration> options, ILogger <TaskerNotifier> logger) { mNotifierService = notifierService ?? throw new ArgumentNullException(nameof(notifierService)); mTaskerOptions = options ?? throw new ArgumentNullException(nameof(options)); mLogger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public TaskService(ITaskRepository tasksRepository, ILogger <TaskService> logger, IMapper mapper, INotifierService notifierService, ISpecificationFactory specFactory) { _tasksRepository = tasksRepository; _logger = logger; _mapper = mapper; _notifierService = notifierService; _specFactory = specFactory; }
public AlertTestExecutor( T chartGenerator, INotifierService notifierService, IBuilder <Notification> notificationBuilder) { _chartDataGenerator = chartGenerator; _notifierService = notifierService; _notificationBuilder = notificationBuilder; }
public NotificationService( IConfiguration configuration, IAccountService accountService, INotifierService notifierService ) { _accountService = accountService; _appSettings = configuration.GetSection("AppSettings"); _notifierService = notifierService; }
protected async Task NotifyAsync(INotifierService service, NotifierData data) { try { await service.NotifyAsync(data); } catch (Exception ex) { _logger.Error <NotificationsService>(ex); } }
protected void Notify(INotifierService service, NotifierData data) { try { service.Notify(data); } catch (Exception ex) { _logger.Error <NotificationsService>(ex); } }
protected void Notify(INotifierService service, NotifierData data) { try { service.Notify(data); } catch (Exception ex) { _exceptionLogger.Log(ex); } }
public PaymentService(TradingPlatformDbContext dbContext, ICacheService cache, IKeystoreService keystoreService, IAccountService accountService, IOrderService orderService, IHttpContextAccessor httpContextAccessor, ISmtpService smtpService, INotifierService notifierService, IHashService hashService) { this.dbContext = dbContext; this.cache = cache; this.keystoreService = keystoreService; this.accountService = accountService; this.orderService = orderService; this.httpContextAccessor = httpContextAccessor; this.smtpService = smtpService; this.notifierService = notifierService; this.hashService = hashService; }
public IndexPackageTask( IPackageProcessorConfiguration configuration, INotifierService notifier, ISupportService support, IAddInfoBuilder addInfoBuilder, IPdbStoreManager pdbStoreManager, IFileCompressor fileCompressor) { this.configuration = configuration; this.notifier = notifier; this.support = support; this.addInfoBuilder = addInfoBuilder; this.pdbStoreManager = pdbStoreManager; this.fileCompressor = fileCompressor; }
public NotificationService(INotifierService notifierService, IScheduleInfoRepository scheduleRepository, IScheduleJobRepository scheduleJobRepository, IMessageCompiler messageCompiler, IScheduledAsyncJobService <NotificationJobParameter> scheduledJobService, IMapper mapper) { _scheduleRepository = scheduleRepository; _scheduleJobRepository = scheduleJobRepository; _scheduledJobService = scheduledJobService; _scheduleJobRepository = scheduleJobRepository; _messageCompiler = messageCompiler; _notifierService = notifierService; _mapper = mapper; }
public void Run( ISettingsService setting, IServersService servers, IConfigMgrService configMgr, IShareLinkMgrService slinkMgr, INotifierService notifier) { this.configMgrService = configMgr; this.settingService = setting; this.serversService = servers; this.slinkMgrService = slinkMgr; this.notifierService = notifier; this.utilsService = new ApiComponents.UtilsApi(); this.webService = new ApiComponents.WebApi(); }
public PackageProcessor( IPackageProcessorConfiguration configuration, IStorageService storage, ISchedulerService scheduler, INotifierService notifier, ISupportService support, IAddInfoBuilder addInfoBuilder, IPdbStoreManager pdbStoreManager, IFileCompressor fileCompressor) { this.configuration = configuration; this.storage = storage; this.scheduler = scheduler; this.notifier = notifier; this.support = support; this.addInfoBuilder = addInfoBuilder; this.pdbStoreManager = pdbStoreManager; this.fileCompressor = fileCompressor; }
public RecurrenceCreatorService( ITaskRepository taskRepository, IPlannedRecurrenceRepository plannedRecurrenceRepository, IDateService dateService, ILogger <RecurrenceCreatorService> logger, ITaskParserService taskParserService, INotifierService notifierService, IMapper mapper, ISpecificationFactory specFactory) { _taskRepository = taskRepository; _plannedRecurrenceRepository = plannedRecurrenceRepository; _dateService = dateService; _logger = logger; _taskParserService = taskParserService; _notifierService = notifierService; _mapper = mapper; _specFactory = specFactory; }
public bool Connect(Guid appId,string uriPath) { _currentAppId = appId; try { NetTcpBinding binding = new NetTcpBinding { Security = { Mode = SecurityMode.None, Transport = { ClientCredentialType = TcpClientCredentialType.None } } }; _notifierServiceFactory = new DuplexChannelFactory<INotifierService>(new InstanceContext(this), binding, new EndpointAddress(uriPath)); _notifierServiceProxy = _notifierServiceFactory.CreateChannel(); _notifierServiceFactory.Faulted += (_, __) => { Disconnect(false); OnExceptionInService(null, true); }; Connected=_notifierServiceProxy.Subscribe(_currentAppId); return Connected; } catch (Exception ex) { Disconnect(false); OnExceptionInService(ex,true); //throw; } return false; }
public RoleController(IRoleService service, INotifierService notifier) : base(service) { }
public NotifierService(INotifierService notifierService) { this.notifierService = notifierService; }
public NotifierTestParent(INotifierService s) { N = new Notifier(this, s); N.Subscribe(); }
public NotifierController(INotifierService customerService) { _customerService = customerService; }
public MockSMSService(INotifierService NotifierService) { _NotifierService = NotifierService; }
public NotificationJob(IServiceProvider serviceProvider) { using var scope = serviceProvider.CreateScope(); _notifierService = scope.ServiceProvider.GetService <INotifierService>(); _notificationService = scope.ServiceProvider.GetService <INotificationService>(); }
public InventoryService(MicroManageContext context, INotifierService notifierService, IAuditService auditService, IProductService productService) { this.Context = context; this.NotifierService = notifierService; this.AuditService = auditService; this.ProductService = productService; }
public ControlAccessController(IService <TEntity> service) { this.Service = service; notifier = DependencyResolver.Current.GetService <INotifierService>(); }
public static void Warning(this INotifierService notifier, string text, params object[] format) { notifier.AddMessage(MessageSeverity.Warning, text, format); }
public static void Error(this INotifierService notifier, string text, params object[] format) { notifier.AddMessage(MessageSeverity.Danger, text, format); }
public NotifierController(INotifierService notifierService) { _notifierService = notifierService; }
public HomeController(ILogger <HomeController> logger, IMediator mediator, INotifierService notifierService) { Logger = logger; Mediator = mediator; NotifierService = notifierService; }
public QuoteService(HttpClient httpClient, INotifierService notifier) { _httpClient = httpClient; _notifier = notifier; }
public OrderPaidDomainEventHandler(ISuitAlterationRepository suitAlterationRepository, INotifierService notifierService) { _suitAlterationRepository = suitAlterationRepository; _notifierService = notifierService; }
public OrderPlacedDomainEventHandler(INotifierService notifierService) { _notifierService = notifierService; }
public Worker(INotifierService notifierService) { _notifierService = notifierService; }
public WheelOfFateService(ITeamRepository engineerRepository, INotifierService notifierService) { this.engineerRepository = engineerRepository; this.notifierService = notifierService; }