13 writes to ViewEnginePath
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageActionDescriptorProvider.cs (1)
107
ViewEnginePath
= model.ViewEnginePath,
PageActionDescriptor.cs (1)
31
ViewEnginePath
= other.ViewEnginePath;
Microsoft.AspNetCore.Mvc.RazorPages.Test (11)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (5)
28
ViewEnginePath
= "/Pages/Foo",
56
ViewEnginePath
= "/Pages/Foo",
107
ViewEnginePath
= "/Pages/Foo",
149
ViewEnginePath
= "/Pages/Foo",
411
ViewEnginePath
= "/Pages/Foo",
DependencyInjection\PageConventionCollectionExtensionsTest.cs (1)
1022
ViewEnginePath
= viewEnginePath,
Infrastructure\PageActionInvokerProviderTest.cs (3)
156
ViewEnginePath
= "/Home/Path1/File.cshtml",
372
ViewEnginePath
= "/Pages/Level1/Level2/Index.cshtml"
426
ViewEnginePath
= "/Views/Deeper/Index.cshtml"
Infrastructure\PageActionInvokerTest.cs (2)
1400
actionDescriptor.
ViewEnginePath
= "/Pages/Foo";
1445
ViewEnginePath
= "/Index.cshtml",
11 references to ViewEnginePath
Microsoft.AspNetCore.Mvc.RazorPages (8)
ApplicationModels\PageApplicationModel.cs (1)
94
public string ViewEnginePath => ActionDescriptor.
ViewEnginePath
;
PageActionDescriptor.cs (7)
31
ViewEnginePath = other.
ViewEnginePath
;
44
/// e.g. the <see cref="
ViewEnginePath
"/> for the file /Pages/Catalog/Antiques.cshtml is <c>/Catalog/Antiques</c>
48
/// e.g. the <see cref="
ViewEnginePath
"/> for the file Areas/Identity/Pages/Manage/Accounts.cshtml, is <c>/Manage/Accounts</c>.
69
if (base.DisplayName == null &&
ViewEnginePath
!= null)
71
base.DisplayName =
ViewEnginePath
;
85
private string DebuggerDisplayString => $"{nameof(
ViewEnginePath
)} = {
ViewEnginePath
}, {nameof(RelativePath)} = {RelativePath}";
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (2)
42
Assert.Same(actionDescriptor.
ViewEnginePath
, actual.
ViewEnginePath
);
Infrastructure\PageActionInvokerTest.cs (1)
1410
var pagePath = actionDescriptor.
ViewEnginePath
;