RazorPageFactoryResult Struct

Definition

C#
public struct RazorPageFactoryResult
C#
public readonly struct RazorPageFactoryResult
Inheritance
RazorPageFactoryResult

Constructors

RazorPageFactoryResult(CompiledViewDescriptor, Func<IRazorPage>)

Initializes a new instance of RazorPageFactoryResult with the specified IRazorPage factory.

RazorPageFactoryResult(Func<IRazorPage>, IList<IChangeToken>, Boolean)

Initializes a new instance of RazorPageFactoryResult with the specified IRazorPage factory.

RazorPageFactoryResult(Func<IRazorPage>, IList<IChangeToken>)

Initializes a new instance of RazorPageFactoryResult with the specified IRazorPage factory.

RazorPageFactoryResult(IList<IChangeToken>)

Initializes a new instance of RazorPageFactoryResult with the specified expirationTokens.

Properties

ExpirationTokens

One or more IChangeTokens associated with this instance of RazorPageFactoryResult.

IsPrecompiled

Gets a value that determines if the view is precompiled.

RazorPageFactory

The IRazorPage factory.

Success

Gets a value that determines if the page was successfully located.

ViewDescriptor

Gets the CompiledViewDescriptor.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0