public MustacheTemplateService(IContentReaderService <TextContentModel> partialsLocator = null) { _partialsLocator = partialsLocator; _cache = new LazyCache <Template>(loadTemplate); }
public void InitialSetup() { _storage = new List <CustomDataModel>(); _contentReader = new ContentReaderServiceFake <CustomDataModel, string>(_storage); _dataService = new DataService(_contentReader); }
public DataService(IContentReaderService <CustomDataModel> dataReaderService) { DataReaderService = dataReaderService; }