public BingImagesController( DefaultDatabaseContext databaseContext, IImageService <BingImage> imageService, ILocalFileService localFileService, ILogger <BingImagesController> logger) { this.databaseContext = databaseContext; this.imageService = imageService; this.localFileService = localFileService; this.logger = logger; }
public App( IHostApplicationLifetime hostApplicationLifetime, DefaultDatabaseContext databaseContext, IOptions <CollectorOptions> appOptionsAccessor, IImageService <BingImage> imageService, ILocalFileService fileService, ILoggerFactory loggerFactory) { this.hostApplicationLifetime = hostApplicationLifetime; this.databaseContext = databaseContext; this.imageService = imageService; this.fileService = fileService; appOptions = appOptionsAccessor.Value ?? new CollectorOptions(); logger = loggerFactory.CreateLogger <App>(); timer = new System.Timers.Timer(); timer.Interval = 1000; timer.Elapsed += Timer_Elapsed; timer.Enabled = true; }
public FilesController(DefaultDatabaseContext db) { this.db = db; }
public RefreshTokenRepository(DefaultDatabaseContext defaultDatabaseContext) { this.defaultDatabaseContext = defaultDatabaseContext; }
public AppLogRepository(DefaultDatabaseContext dbContext, IMapper mapper) { this.dbContext = dbContext; this.mapper = mapper; }
public UserRepository(DefaultDatabaseContext defaultDatabaseContext) { this.defaultDatabaseContext = defaultDatabaseContext; }