public ErrorLogger( IEmailSender emailSender, ILoggerFactory loggerFactory, IDexihOperations operations) { _logger = loggerFactory.CreateLogger("ErrorLogger"); _emailSender = emailSender; _operations = operations; }
public AuthMessageSender( IDexihOperations configuration, IBackgroundTaskQueue backgroundTaskQueue, ILoggerFactory loggerFactory) { _logger = loggerFactory.CreateLogger("EmailMessages"); _backgroundTaskQueue = backgroundTaskQueue; SendGridApi = configuration.Config.SendGridApi; }
public SharedDataController( ILoggerFactory loggerFactory, IDexihOperations operations, IRemoteAgents remoteAgents ) { _logger = loggerFactory.CreateLogger <AccountController>(); _operations = operations; _remoteAgents = remoteAgents; }
public AdminController( DexihRepositoryContext dbContext, IEmailSender emailSender, IDexihOperations operations, ILoggerFactory loggerFactory ) { DbContext = dbContext; _emailSender = emailSender; _operations = operations; _logger = loggerFactory.CreateLogger("AdminController"); }
public ReaderController(DexihRepositoryContext dbContext, IDexihOperations operations, SignInManager <ApplicationUser> signInManager, IRemoteAgents remoteAgents, //IDataReader dataReader, ILoggerFactory loggerFactory) { DbContext = dbContext; _operations = operations; _signInManager = signInManager; _remoteAgents = remoteAgents; //_dataReader = dataReader; _logger = loggerFactory.CreateLogger <RemoteController>(); }
public RemoteController(IDexihOperations operations, SignInManager <ApplicationUser> signInManager, IDistributedCache distributedCache, IWebHostEnvironment webHostEnvironment, IRemoteAgents remoteServers, ILoggerFactory loggerFactory, ErrorLogger errorLogger, ApplicationSettings applicationSettings, IHttpClientFactory clientFactory, IHttpContextAccessor httpContextAccessor) { _operations = operations; _signInManager = signInManager; _remoteServers = remoteServers; _logger = loggerFactory.CreateLogger <RemoteController>(); _distributedCache = distributedCache; _applicationSettings = applicationSettings; _webHostEnvironment = webHostEnvironment; _errorLogger = errorLogger; _clientFactory = clientFactory; _httpContextAccessor = httpContextAccessor; }