public IndexController( ICacherService cacherService, ITemplaterService templaterService, IGeneratorService generatorService ) { _cacherService = cacherService; _templaterService = templaterService; _generatorService = generatorService; }
public static Task <Stream> Populate <T>(this ITemplaterService templater, string file, Expression <Func <T, bool> > filter) where T : class, ISearchable { if (templater == null) { throw new ArgumentNullException("templater can't be null"); } if (filter == null) { throw new ArgumentNullException("filter can't be null"); } return(templater.Populate <T>(file, new ExpressionSpecification <T>(filter))); }
public ReportingTests() { locator = Common.StartClient(); tService = locator.Resolve <ITemplaterService>(); rProxy = locator.Resolve <IReportingProxy>(); }
public ReportingTests() { locator = Common.StartClient(); tService = locator.Resolve<ITemplaterService>(); rProxy = locator.Resolve<IReportingProxy>(); }
public RobotsController(ITemplaterService templaterService) { _templaterService = templaterService; }