Пример #1
0
 public TemplateModuleSettings(IList<ITemplateEngine> engines = null)
 {
     var simpleEng = new SimpleTemplateEngine();
       Engines[simpleEng.Name] = simpleEng;
       if(engines != null)
     foreach(var e in engines)
       Engines[e.Name] = e;
 }
Пример #2
0
        public TemplateModuleSettings(IList <ITemplateEngine> engines = null)
        {
            var simpleEng = new SimpleTemplateEngine();

            Engines[simpleEng.Name] = simpleEng;
            if (engines != null)
            {
                foreach (var e in engines)
                {
                    Engines[e.Name] = e;
                }
            }
        }