Exemple #1
0
 public NLPSystemRepository(IHostingEnvironment env, IRdrDataRepository rdrDataRepository, ILocalMemoryCache localMemoryCache, IHttpClientFactory clientFactory, IConfiguration config, ILogger <NLPSystemRepository> logger)
 {
     _env = env;
     _rdrDataRepository = rdrDataRepository;
     _localMemoryCache  = localMemoryCache;
     _clientFactory     = clientFactory;
     _config            = config;
     _logger            = logger;
 }
 public HomeController(ILocalMemoryCache localMemoryCache, ILogger <HomeController> logger, ILogRepository logRepository, IHostingEnvironment env, IRdrDataRepository rdrDataRepository, INLPSystemRepository nLPSystemRepository)
 {
     _localMemoryCache = localMemoryCache;
     _logger           = logger;
     _logRepository    = logRepository;
     _env = env;
     _rdrDataRepository   = rdrDataRepository;
     _nLPSystemRepository = nLPSystemRepository;
 }
 public RareDiseaseController(ILocalMemoryCache localMemoryCache, ILogger <RareDiseaseController> logger, ILogRepository logRepository, IRdrDataRepository rdrDataRepository, INLPSystemRepository nLPSystemRepository, IExcelRepository excelRepository)
 {
     _localMemoryCache    = localMemoryCache;
     _logger              = logger;
     _logRepository       = logRepository;
     _rdrDataRepository   = rdrDataRepository;
     _nLPSystemRepository = nLPSystemRepository;
     _excelRepository     = excelRepository;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="RMQPoolBase"/> class.
        /// </summary>
        /// <param name="configurationManager">The configuration manager.</param>
        /// <param name="factory">The factory.</param>
        /// <param name="maxGrowSize">Maximum size of the grow.</param>
        public RMQPoolBase(
            IRMQConfigurationManager configurationManager,
            IRMQSenderReceiverFactory factory,
            int maxGrowSize)
        {
            Guard.AgainstNull(() => configurationManager);
            Guard.AgainstNull(() => factory);

            _disposed             = false;
            _cache                = new LocalMemoryCache();
            _maxGrowSize          = maxGrowSize;
            _configurationManager = configurationManager;
            _factory              = factory;
        }
Exemple #5
0
 public RdrDataRepository(IHostingEnvironment hostingEnvironment, ILogger <RdrDataRepository> logger, ILocalMemoryCache localMemoryCache)
 {
     _hostingEnvironment = hostingEnvironment;
     _logger             = logger;
     _localMemoryCache   = localMemoryCache;
 }
 public ExcelRepository(IConfiguration config, ILocalMemoryCache localMemoryCache)
 {
     _config           = config;
     _localMemoryCache = localMemoryCache;
 }
Exemple #7
0
 public LoginController(ILogger <LoginController> logger, ILogRepository logRepository, ILocalMemoryCache localMemoryCache)
 {
     _logger           = logger;
     _logRepository    = logRepository;
     _localMemoryCache = localMemoryCache;
 }