public void SetUp()
 {
     RazorFormat = new RazorFormat {
         DefaultBaseType = typeof(CustomRazorBasePage<>),
         VirtualPathProvider = new InMemoryVirtualPathProvider(new BasicAppHost()),
         TemplateProvider = { CompileInParallelWithNoOfThreads = 0 },
     };
     RazorFormat.Init();            
 }
예제 #2
0
		public void TestFixtureSetUp()
		{
			mvcRazorFormat = new RazorFormat { DefaultBaseType = typeof(CustomRazorBasePage<>) };
			mvcRazorFormat.Init();
		}