Exemple #1
0
 public ElasticController(ILogger <ElasticController> logger, IElastic elasticClient, IConfiguration configuration)
 {
     _logger        = logger;
     _client        = elasticClient;
     _configuration = configuration;
     _dateFormat    = configuration.GetValue <string>("DateTimeFormat");
 }
Exemple #2
0
 public DocumentService(IElastic elastic)
     : base(elastic)
 {
 }
 protected BaseService(IElastic elastic)
 => Elastic = elastic;
Exemple #4
0
 public IndexService(IElastic elastic)
     : base(elastic)
 {
 }
Exemple #5
0
 public SearchService(IElastic elastic)
     : base(elastic)
 {
 }
 public WeatherForecastController(ILogger <WeatherForecastController> logger, IElastic elastic)
 {
     _logger  = logger;
     _elastic = elastic;
 }