Show / Hide Table of Contents

Interface IFindsView

An object which finds a view file, searching a number of provided locations.

Namespace: ZptSharp.Mvc5
Assembly: ZptSharp.Mvc5.dll
Syntax
public interface IFindsView

Methods

| Improve this Doc View Source

FindView(String, String, String[])

Attempts to find a view, and returns a result indicating the outcome of the search.

Declaration
FindViewResult FindView(string controllerName, string viewName, string[] searchLocationFormats)
Parameters
Type Name Description
System.String controllerName

The controller name for the desired view.

System.String viewName

The name of the desired view.

System.String[] searchLocationFormats

A collection of locations to search.

Returns
Type Description
FindViewResult

A result indicating success or failure.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX