ViewEngineResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the result of an IViewEngine.
public ref class ViewEngineResult
public class ViewEngineResult
type ViewEngineResult = class
Public Class ViewEngineResult
- Inheritance
-
ViewEngineResult
Properties
SearchedLocations |
The list of locations searched. |
Success |
Whether the result was successful |
View |
The IView. |
ViewName |
Gets or sets the name of the view. |
Methods
EnsureSuccessful(IEnumerable<String>) |
Ensure this ViewEngineResult was successful. |
Found(String, IView) |
Returns a result when a view is found. |
NotFound(String, IEnumerable<String>) |
Returns a result that represents when a view is not found. |