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