28 references to ViewEnginePath
Microsoft.AspNetCore.Mvc.RazorPages (4)
ApplicationModels\PageApplicationModel.cs (2)
87
/// e.g. the <see cref="
ViewEnginePath
"/> for the file /Pages/Catalog/Antiques.cshtml is <c>/Catalog/Antiques</c>
91
/// e.g. the <see cref="
ViewEnginePath
"/> for the file Areas/Identity/Pages/Manage/Accounts.cshtml, is <c>/Manage/Accounts</c>.
ApplicationModels\PageConventionCollection.cs (2)
353
if (string.Equals(model.
ViewEnginePath
, _path, StringComparison.OrdinalIgnoreCase) &&
382
PathBelongsToFolder(_folderPath, model.
ViewEnginePath
))
Microsoft.AspNetCore.Mvc.RazorPages.Test (24)
DependencyInjection\PageConventionCollectionExtensionsTest.cs (24)
64
Assert.Equal("/Users/Account", model.
ViewEnginePath
);
70
Assert.Equal("/Users/Contact", model.
ViewEnginePath
);
99
Assert.Equal("/Users/Account", model.
ViewEnginePath
);
104
Assert.Equal("/Users/Contact", model.
ViewEnginePath
);
184
Assert.Equal("/Index", model.
ViewEnginePath
);
191
Assert.Equal("/Users/Account", model.
ViewEnginePath
);
199
Assert.Equal("/Users/Contact", model.
ViewEnginePath
);
229
Assert.Equal("/Index", model.
ViewEnginePath
);
234
Assert.Equal("/Users/Account", model.
ViewEnginePath
);
240
Assert.Equal("/Users/Contact", model.
ViewEnginePath
);
269
Assert.Equal("/Index", model.
ViewEnginePath
);
276
Assert.Equal("/Users/Account", model.
ViewEnginePath
);
284
Assert.Equal("/Users/Contact", model.
ViewEnginePath
);
315
Assert.Equal("/Index", model.
ViewEnginePath
);
320
Assert.Equal("/Users/Account", model.
ViewEnginePath
);
326
Assert.Equal("/Users/Contact", model.
ViewEnginePath
);
425
Assert.Equal("/Users/Account", model.
ViewEnginePath
);
454
Assert.Equal("/Users/Account", model.
ViewEnginePath
);
591
Assert.Equal("/Users/Account", model.
ViewEnginePath
);
620
Assert.Equal("/Users/Account", model.
ViewEnginePath
);
651
Assert.Equal("/Users/Account", model.
ViewEnginePath
);
658
Assert.Equal("/Users/Contact", model.
ViewEnginePath
);
688
Assert.Equal("/Users/Account", model.
ViewEnginePath
);
695
Assert.Equal("/Users/Contact", model.
ViewEnginePath
);