22 instantiations of TestRazorCompiledItem
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (20)
ChecksumValidatorTest.cs (11)
18var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] { }); 31var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 47var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 64var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] { }); 77var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 94var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 113var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 132var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 151var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 171var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 193var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[]
RuntimeViewCompilerTest.cs (9)
264Item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", path, new object[] 302Item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", path, new object[] { }), 337Item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", path, new object[] 371Item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", path, new object[] 399Item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", path, new object[] 429Item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", path, new object[] 466Item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", path, new object[] 502Item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", path, new object[] 542Item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", path, new object[]
Microsoft.AspNetCore.Mvc.Views.TestCommon (2)
TestRazorCompiledItem.cs (2)
18return new TestRazorCompiledItem(type, "mvc.1.0.razor-page", identifier, metadata); 28return new TestRazorCompiledItem(type, "mvc.1.0.razor-page", identifier, metadata);
40 references to TestRazorCompiledItem
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (13)
ChecksumValidatorTest.cs (12)
6using static Microsoft.AspNetCore.Razor.Hosting.TestRazorCompiledItem; 18var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] { }); 31var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 47var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 64var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] { }); 77var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 94var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 113var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 132var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 151var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 171var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[] 193var item = new TestRazorCompiledItem(typeof(string), "mvc.1.0.view", "/Views/Home/Index.cstml", new object[]
RuntimeViewCompilerTest.cs (1)
15using static Microsoft.AspNetCore.Razor.Hosting.TestRazorCompiledItem;
Microsoft.AspNetCore.Mvc.Razor.Test (2)
Compilation\DefaultRazorPageFactoryProviderTest.cs (2)
55Item = TestRazorCompiledItem.CreateForView(typeof(TestRazorPage), relativePath), 81Item = TestRazorCompiledItem.CreateForView(typeof(TestRazorPage), relativePath),
Microsoft.AspNetCore.Mvc.RazorPages.Test (25)
ApplicationModels\CompiledPageRouteModelProviderTest.cs (23)
22TestRazorCompiledItem.CreateForPage("/Pages/About.cshtml"), 23TestRazorCompiledItem.CreateForPage("/Pages/Home.cshtml", metadata: new[] 76TestRazorCompiledItem.CreateForPage("/Areas/Products/Files/About.cshtml"), 77TestRazorCompiledItem.CreateForPage("/Areas/Products/Pages/About.cshtml"), 78TestRazorCompiledItem.CreateForPage("/Areas/Products/Pages/Manage/Index.cshtml"), 79TestRazorCompiledItem.CreateForPage("/Areas/Products/Pages/Manage/Edit.cshtml", metadata: new object[] 168TestRazorCompiledItem.CreateForPage("/Areas/Accounts/Pages/Manage/Home.cshtml"), 169TestRazorCompiledItem.CreateForPage("/Areas/Accounts/Manage/Home.cshtml"), 170TestRazorCompiledItem.CreateForPage("/Areas/About.cshtml"), 171TestRazorCompiledItem.CreateForPage("/Contact.cshtml"), 231TestRazorCompiledItem.CreateForPage("/Pages/Index.cshtml"), 232TestRazorCompiledItem.CreateForPage("/Pages/Admin/Index.cshtml", metadata: new object[] 274TestRazorCompiledItem.CreateForPage("/Pages/Index.cshtml"), 275TestRazorCompiledItem.CreateForPage("/Pages/Admin/Index.cshtml", metadata: new object[] 316TestRazorCompiledItem.CreateForPage("/Pages/Index.cshtml", metadata: new object[] 320TestRazorCompiledItem.CreateForPage("/Pages/Home.cshtml", metadata: new object[] 364TestRazorCompiledItem.CreateForPage("/Pages/About.cshtml"), 365TestRazorCompiledItem.CreateForPage("/Pages/Home.cshtml"), 367TestRazorCompiledItem.CreateForPage("/Pages/About.cshtml"), 397TestRazorCompiledItem.CreateForPage("/Pages/_About.cshtml"), 398TestRazorCompiledItem.CreateForPage("/Pages/Home.cshtml"), 447var descriptor = new CompiledViewDescriptor(TestRazorCompiledItem.CreateForPage("/Pages/About.cshtml", metadata: new object[] 463var descriptor = new CompiledViewDescriptor(TestRazorCompiledItem.CreateForPage("/Pages/About.cshtml"));
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (1)
244feature.ViewDescriptors.Add(new CompiledViewDescriptor(TestRazorCompiledItem.CreateForPage(typeof(Index), "/Pages/Index.cshtml")));
Infrastructure\DefaultPageLoaderTest.cs (1)
357var compiledItem = TestRazorCompiledItem.CreateForView(typeof(object), "/Views/Index.cshtml");