Compartir a través de


RazorPageFactoryResult Constructores

Definición

Sobrecargas

RazorPageFactoryResult(IList<IChangeToken>)

Inicializa una nueva instancia de RazorPageFactoryResult con la interfaz expirationTokens especificada.

RazorPageFactoryResult(CompiledViewDescriptor, Func<IRazorPage>)

Inicializa una nueva instancia de RazorPageFactoryResult con el generador especificado IRazorPage .

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

Inicializa una nueva instancia de RazorPageFactoryResult con el generador especificado IRazorPage .

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

Inicializa una nueva instancia de RazorPageFactoryResult con el generador especificado IRazorPage .

RazorPageFactoryResult(IList<IChangeToken>)

Inicializa una nueva instancia de RazorPageFactoryResult con la interfaz expirationTokens especificada.

public:
 RazorPageFactoryResult(System::Collections::Generic::IList<Microsoft::Extensions::Primitives::IChangeToken ^> ^ expirationTokens);
public RazorPageFactoryResult (System.Collections.Generic.IList<Microsoft.Extensions.Primitives.IChangeToken> expirationTokens);
new Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult : System.Collections.Generic.IList<Microsoft.Extensions.Primitives.IChangeToken> -> Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult
Public Sub New (expirationTokens As IList(Of IChangeToken))

Parámetros

expirationTokens
IList<IChangeToken>

Una o varias IChangeToken instancias.

Se aplica a

RazorPageFactoryResult(CompiledViewDescriptor, Func<IRazorPage>)

Source:
RazorPageFactoryResult.cs
Source:
RazorPageFactoryResult.cs
Source:
RazorPageFactoryResult.cs

Inicializa una nueva instancia de RazorPageFactoryResult con el generador especificado IRazorPage .

public:
 RazorPageFactoryResult(Microsoft::AspNetCore::Mvc::Razor::Compilation::CompiledViewDescriptor ^ viewDescriptor, Func<Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^> ^ razorPageFactory);
public RazorPageFactoryResult (Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor viewDescriptor, Func<Microsoft.AspNetCore.Mvc.Razor.IRazorPage> razorPageFactory);
public RazorPageFactoryResult (Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor viewDescriptor, Func<Microsoft.AspNetCore.Mvc.Razor.IRazorPage>? razorPageFactory);
new Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult : Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor * Func<Microsoft.AspNetCore.Mvc.Razor.IRazorPage> -> Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult
Public Sub New (viewDescriptor As CompiledViewDescriptor, razorPageFactory As Func(Of IRazorPage))

Parámetros

razorPageFactory
Func<IRazorPage>

La IRazorPage fábrica.

Se aplica a

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

Inicializa una nueva instancia de RazorPageFactoryResult con el generador especificado IRazorPage .

public:
 RazorPageFactoryResult(Func<Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^> ^ razorPageFactory, System::Collections::Generic::IList<Microsoft::Extensions::Primitives::IChangeToken ^> ^ expirationTokens);
public RazorPageFactoryResult (Func<Microsoft.AspNetCore.Mvc.Razor.IRazorPage> razorPageFactory, System.Collections.Generic.IList<Microsoft.Extensions.Primitives.IChangeToken> expirationTokens);
new Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult : Func<Microsoft.AspNetCore.Mvc.Razor.IRazorPage> * System.Collections.Generic.IList<Microsoft.Extensions.Primitives.IChangeToken> -> Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult
Public Sub New (razorPageFactory As Func(Of IRazorPage), expirationTokens As IList(Of IChangeToken))

Parámetros

razorPageFactory
Func<IRazorPage>

La IRazorPage fábrica.

expirationTokens
IList<IChangeToken>

Una o varias IChangeToken instancias.

Se aplica a

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

Inicializa una nueva instancia de RazorPageFactoryResult con el generador especificado IRazorPage .

public:
 RazorPageFactoryResult(Func<Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^> ^ razorPageFactory, System::Collections::Generic::IList<Microsoft::Extensions::Primitives::IChangeToken ^> ^ expirationTokens, bool isPrecompiled);
public RazorPageFactoryResult (Func<Microsoft.AspNetCore.Mvc.Razor.IRazorPage> razorPageFactory, System.Collections.Generic.IList<Microsoft.Extensions.Primitives.IChangeToken> expirationTokens, bool isPrecompiled);
new Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult : Func<Microsoft.AspNetCore.Mvc.Razor.IRazorPage> * System.Collections.Generic.IList<Microsoft.Extensions.Primitives.IChangeToken> * bool -> Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult
Public Sub New (razorPageFactory As Func(Of IRazorPage), expirationTokens As IList(Of IChangeToken), isPrecompiled As Boolean)

Parámetros

razorPageFactory
Func<IRazorPage>

La IRazorPage fábrica.

expirationTokens
IList<IChangeToken>

Una o varias IChangeToken instancias.

isPrecompiled
Boolean

true Es si la vista está precompilada; de lo contrario, false es .

Se aplica a