Init() public method

public Init ( ) : RazorFormat
return RazorFormat
 public void SetUp()
 {
     RazorFormat = new RazorFormat {
         DefaultBaseType = typeof(CustomRazorBasePage<>),
         VirtualPathProvider = new InMemoryVirtualPathProvider(new BasicAppHost()),
         TemplateProvider = { CompileInParallelWithNoOfThreads = 0 },
     };
     RazorFormat.Init();            
 }
 public void TestFixtureSetUp()
 {
     var mvcRazorFormat = new RazorFormat();
     mvcRazorFormat.Init(typeof(CustomRazorBasePage<>));
 }
Example #3
0
 public void TestFixtureSetUp()
 {
     mvcRazorFormat = new RazorFormat { DefaultBaseType = typeof(CustomRazorBasePage<>) };
     mvcRazorFormat.Init();
 }
        public void TestFixtureSetUp()
        {
            this.products = new List<Product> {
                new Product("Pen", 1.99m),
                new Product("Glass", 9.99m),
                new Product("Book", 14.99m),
                new Product("DVD", 11.99m),
            };
            productArgs = new { products = products };

            var mvcRazorFormat = new RazorFormat { DefaultBaseType = typeof(CustomRazorBasePage<>) };
            mvcRazorFormat.Init();
        }