Beispiel #1
0
 public ReadModelAccessor(ElasticSearchConfig config, IModelDeserializer <TModel> modelDeserializer)
 {
     this.config            = config;
     this.modelDeserializer = modelDeserializer;
     this.elasticClient     = this.CreateElasticClient();
 }
Beispiel #2
0
 public SchemesReadModelAccessor(ElasticSearchConfig config, IModelDeserializer <PublicScheme> modelDeserializer) :
     base(config, modelDeserializer)
 {
 }
 public ModelElasticsearchlSerializer(IModelDeserializer <TModel> modelDeserializer)
 {
     this.modelDeserializer = modelDeserializer;
 }