Class ViewEngineResult
Represents the result of locating a view engine.
public class ViewEngineResult
- Inheritance
-
ViewEngineResult
- Inherited Members
Constructors
ViewEngineResult(IEnumerable<string>)
Initializes a new instance of the ViewEngineResult class by using the specified searched locations.
public ViewEngineResult(IEnumerable<string> searchedLocations)
Parameters
searchedLocations
IEnumerable<string>The searched locations.
Exceptions
- ArgumentNullException
The
searchedLocations
parameter is null.
ViewEngineResult(IView, IViewEngine)
Initializes a new instance of the ViewEngineResult class by using the specified view and view engine.
public ViewEngineResult(IView view, IViewEngine viewEngine)
Parameters
view
IViewThe view.
viewEngine
IViewEngineThe view engine.
Exceptions
- ArgumentNullException
The
view
orviewEngine
parameter is null.
Properties
SearchedLocations
Gets or sets the searched locations.
public IEnumerable<string> SearchedLocations { get; }
Property Value
- IEnumerable<string>
The searched locations.
View
Gets or sets the view.
public IView View { get; }
Property Value
- IView
The view.
ViewEngine
Gets or sets the view engine.
public IViewEngine ViewEngine { get; }
Property Value
- IViewEngine
The view engine.