Dela via


RazorPageResult Struct

Definition

Result of locating a IRazorPage.

public value class RazorPageResult
public struct RazorPageResult
public readonly struct RazorPageResult
type RazorPageResult = struct
Public Structure RazorPageResult
Inheritance
RazorPageResult

Constructors

RazorPageResult(String, IEnumerable<String>)

Initializes a new instance of RazorPageResult for an unsuccessful discovery.

RazorPageResult(String, IRazorPage)

Initializes a new instance of RazorPageResult for a successful discovery.

Properties

Name

Gets the name or the path of the page being located.

Page

Gets the IRazorPage if found.

SearchedLocations

Gets the locations that were searched when Page could not be found.

Applies to