Exemple #1
0
 public void SetUp()
 {
     _templateCache = new SimpleTemplateCache();
     _templateCache.Clear();
     _templateFactoryFactoryMock = new Mock <ITemplateFactoryFactory>();
     _templateEngine             = new TemplateEngine(_templateCache, _templateFactoryFactoryMock.Object);
 }
Exemple #2
0
 public TemplateEngine(IHamlTemplateCache templateCache, ITemplateFactoryFactory templateFactoryFactory)
 {
     _compiledTemplateCache  = templateCache;
     _templateFactoryFactory = templateFactoryFactory;
 }
Exemple #3
0
 public TemplateEngine(IHamlTemplateCache templateCache, ITemplateFactoryFactory templateFactoryFactory)
 {
     _compiledTemplateCache = templateCache;
     _templateFactoryFactory = templateFactoryFactory;
 }
 public void SetUp()
 {
     _templateCache = new SimpleTemplateCache();
     _templateCache.Clear();
     _templateFactoryFactoryMock = new Mock<ITemplateFactoryFactory>();
     _templateEngine = new TemplateEngine(_templateCache, _templateFactoryFactoryMock.Object);
 }