Esempio n. 1
0
        public IQueryHandler <T> CreateHandler <T>(object model, out QueryStatistics stats)
        {
            stats = StatisticsFinder?.Find(model);

            return(new CachedQueryHandler <T>(model, Command, Handler.As <IQueryHandler <T> >(), ParameterSetters.ToArray()));
        }
Esempio n. 2
0
 public IQueryHandler <T> CreateHandler <T>(object model)
 {
     return(new CachedQueryHandler <T>(model, Command, Handler.As <IQueryHandler <T> >(), ParameterSetters.ToArray()));
 }