Condividi tramite


RazorPageFactoryResult Costruttori

Definizione

Overload

RazorPageFactoryResult(IList<IChangeToken>)

Inizializza una nuova istanza di RazorPageFactoryResult con l'oggetto expirationTokens specificato.

RazorPageFactoryResult(CompiledViewDescriptor, Func<IRazorPage>)

Inizializza una nuova istanza di RazorPageFactoryResult con la factory specificata IRazorPage .

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

Inizializza una nuova istanza di RazorPageFactoryResult con la factory specificata IRazorPage .

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

Inizializza una nuova istanza di RazorPageFactoryResult con la factory specificata IRazorPage .

RazorPageFactoryResult(IList<IChangeToken>)

Inizializza una nuova istanza di RazorPageFactoryResult con l'oggetto expirationTokens specificato.

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))

Parametri

expirationTokens
IList<IChangeToken>

Una o più IChangeToken istanze.

Si applica a

RazorPageFactoryResult(CompiledViewDescriptor, Func<IRazorPage>)

Origine:
RazorPageFactoryResult.cs
Origine:
RazorPageFactoryResult.cs
Origine:
RazorPageFactoryResult.cs

Inizializza una nuova istanza di RazorPageFactoryResult con la factory specificata 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))

Parametri

razorPageFactory
Func<IRazorPage>

Factory IRazorPage .

Si applica a

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

Inizializza una nuova istanza di RazorPageFactoryResult con la factory specificata 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))

Parametri

razorPageFactory
Func<IRazorPage>

Factory IRazorPage .

expirationTokens
IList<IChangeToken>

Una o più IChangeToken istanze.

Si applica a

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

Inizializza una nuova istanza di RazorPageFactoryResult con la factory specificata 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)

Parametri

razorPageFactory
Func<IRazorPage>

Factory IRazorPage .

expirationTokens
IList<IChangeToken>

Una o più IChangeToken istanze.

isPrecompiled
Boolean

true se la visualizzazione è precompilata, false in caso contrario.

Si applica a