예제 #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()));
        }
예제 #2
0
 public IQueryHandler <T> CreateHandler <T>(object model)
 {
     return(new CachedQueryHandler <T>(model, Command, Handler.As <IQueryHandler <T> >(), ParameterSetters.ToArray()));
 }