1 namespace System.Web.Mvc {
3 using System.Collections.Generic;
5 public class ViewEngineResult {
7 public ViewEngineResult(IEnumerable<string> searchedLocations) {
8 if (searchedLocations == null) {
9 throw new ArgumentNullException("searchedLocations");
12 SearchedLocations = searchedLocations;
15 public ViewEngineResult(IView view, IViewEngine viewEngine) {
17 throw new ArgumentNullException("view");
19 if (viewEngine == null) {
20 throw new ArgumentNullException("viewEngine");
24 ViewEngine = viewEngine;
27 public IEnumerable<string> SearchedLocations {
37 public IViewEngine ViewEngine {