Exemplo n.º 1
0
 public PostQueries(
     PostCache cache,
     IBasicQueries <Post> postQueries
     )
 {
     _cache = cache;
     _query = postQueries;
 }
 public PostQueries(
     PostCache cache,
     IBasicQueries <Post> postQueries
     //,ILogger<PostQueries> logger
     )
 {
     _cache = cache;
     _query = postQueries;
     // log = logger;
 }
Exemplo n.º 3
0
 public PostQueries(
     PostCache cache,
     IBasicCommands <Post> postCommands,
     IBasicQueries <Post> postQueries,
     ILogger <PostQueries> logger)
 {
     this.cache = cache;
     commands   = postCommands;
     query      = postQueries;
     log        = logger;
 }
 public PostCommands(
     PostCache cache,
     IBasicCommands <Post> postCommands,
     IBasicQueries <Post> postQueries,
     IKeyGenerator keyGenerator
     )
 {
     _cache        = cache;
     _commands     = postCommands;
     _query        = postQueries;
     _keyGenerator = keyGenerator;
 }
 public PostCommands(
     PostCache cache,
     IBasicCommands <Post> postCommands,
     IBasicQueries <Post> postQueries,
     IKeyGenerator keyGenerator
     //,ILogger<PostCommands> logger
     )
 {
     this.cache    = cache;
     commands      = postCommands;
     query         = postQueries;
     _keyGenerator = keyGenerator;
     // log = logger;
 }