public SharedDataController( ILoggerFactory loggerFactory, IDexihOperations operations, IRemoteAgents remoteAgents ) { _logger = loggerFactory.CreateLogger <AccountController>(); _operations = operations; _remoteAgents = remoteAgents; }
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; }