コード例 #1
0
        public BooViewEngineOptions()
        {
            AssembliesToReference.Add(typeof(BooViewEngineOptions).Assembly);   //Brail's assembly
            AssembliesToReference.Add(typeof(Controller).Assembly);             //MVC Framework's assembly
            AssembliesToReference.Add(typeof(AssertMacro).Assembly);            //Boo.Lang.Extensions assembly
            AssembliesToReference.Add(typeof(IViewSourceLoader).Assembly);      // MvcContrib assembly

            NamespacesToImport.Add("MvcContrib.BrailViewEngine");
            NamespacesToImport.Add("System.Web.Mvc");
            namespacesToImport.Add("System.Web.Mvc.Html");
        }
コード例 #2
0
 public BooViewEngineOptions()
 {
     AssembliesToReference.Add(typeof(BooViewEngineOptions).Assembly);   //Brail's assembly
     AssembliesToReference.Add(typeof(Controller).Assembly);             //MonoRail.Framework's assembly
     AssembliesToReference.Add(typeof(AssertMacro).Assembly);            //Boo.Lang.Extensions assembly
 }