Delen via


ViewEngineResult Class

Definition

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.

Applies to