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