예제 #1
0
 public WatchedDomainsService(ILogger <WatchedDomainsService> logger,
                              IDnsWatcherDbContext context,
                              IMapper mapper)
 {
     _logger  = logger;
     _context = context;
     _mapper  = mapper;
 }
예제 #2
0
 public DnsService(IDnsWatcherDbContext context,
                   ILogger <DnsService> logger,
                   IDnsServersService dnsServersService,
                   IDnsResolver dnsResolver)
 {
     _context           = context;
     _logger            = logger;
     _dnsServersService = dnsServersService;
     _dnsResolver       = dnsResolver;
 }
예제 #3
0
 public WatchedRecordsService(ILogger <WatchedRecordsService> logger,
                              IDnsWatcherDbContext context,
                              IMapper mapper,
                              IWatchedDomainsService domainsService,
                              IDnsService dnsService)
 {
     _logger         = logger;
     _context        = context;
     _mapper         = mapper;
     _domainsService = domainsService;
     _dnsService     = dnsService;
 }
예제 #4
0
 public AuthService(IJwtHelper jwtHelper,
                    IDnsWatcherDbContext context,
                    IRandomGenerator randomGenerator,
                    IDateTime dateTime,
                    IJwtOptions jwtOptions)
 {
     _jwtHelper       = jwtHelper;
     _context         = context;
     _randomGenerator = randomGenerator;
     _dateTime        = dateTime;
     _jwtOptions      = jwtOptions;
 }