Partilhar via


RazorPageFactoryResult Construtores

Definição

Sobrecargas

RazorPageFactoryResult(IList<IChangeToken>)

Inicializa uma nova instância de RazorPageFactoryResult com o expirationTokensespecificado.

RazorPageFactoryResult(CompiledViewDescriptor, Func<IRazorPage>)

Inicializa uma nova instância de RazorPageFactoryResult com a fábrica especificada IRazorPage .

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

Inicializa uma nova instância de RazorPageFactoryResult com a fábrica especificada IRazorPage .

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

Inicializa uma nova instância de RazorPageFactoryResult com a fábrica especificada IRazorPage .

RazorPageFactoryResult(IList<IChangeToken>)

Inicializa uma nova instância de RazorPageFactoryResult com o expirationTokensespecificado.

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>

Uma ou mais IChangeToken instâncias.

Aplica-se a

RazorPageFactoryResult(CompiledViewDescriptor, Func<IRazorPage>)

Origem:
RazorPageFactoryResult.cs
Origem:
RazorPageFactoryResult.cs
Origem:
RazorPageFactoryResult.cs

Inicializa uma nova instância de RazorPageFactoryResult com a fábrica especificada 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>

A IRazorPage fábrica.

Aplica-se a

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

Inicializa uma nova instância de RazorPageFactoryResult com a fábrica especificada 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>

A IRazorPage fábrica.

expirationTokens
IList<IChangeToken>

Uma ou mais IChangeToken instâncias.

Aplica-se a

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

Inicializa uma nova instância de RazorPageFactoryResult com a fábrica especificada 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>

A IRazorPage fábrica.

expirationTokens
IList<IChangeToken>

Uma ou mais IChangeToken instâncias.

isPrecompiled
Boolean

true se o modo de exibição for pré-compilado, caso contrário, false .

Aplica-se a