OutputCacheConventionBuilderExtensions.CacheOutput Metodo

Definizione

Overload

CacheOutput<TBuilder>(TBuilder)

Contrassegna un endpoint da memorizzare nella cache con i criteri predefiniti.

CacheOutput<TBuilder>(TBuilder, IOutputCachePolicy)

Contrassegna un endpoint da memorizzare nella cache con i criteri specificati.

CacheOutput<TBuilder>(TBuilder, Action<OutputCachePolicyBuilder>)

Contrassegna un endpoint da memorizzare nella cache usando il generatore di criteri specificato.

CacheOutput<TBuilder>(TBuilder, String)

Contrassegna un endpoint da memorizzare nella cache usando un criterio denominato.

CacheOutput<TBuilder>(TBuilder, Action<OutputCachePolicyBuilder>, Boolean)

Contrassegna un endpoint da memorizzare nella cache usando il generatore di criteri specificato.

CacheOutput<TBuilder>(TBuilder)

Origine:
OutputCacheConventionBuilderExtensions.cs

Contrassegna un endpoint da memorizzare nella cache con i criteri predefiniti.

public static TBuilder CacheOutput<TBuilder> (this TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder;
static member CacheOutput : 'Builder -> 'Builder (requires 'Builder :> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder)
<Extension()>
Public Function CacheOutput(Of TBuilder As IEndpointConventionBuilder) (builder As TBuilder) As TBuilder

Parametri di tipo

TBuilder

Parametri

builder
TBuilder

Restituisce

TBuilder

Si applica a

CacheOutput<TBuilder>(TBuilder, IOutputCachePolicy)

Origine:
OutputCacheConventionBuilderExtensions.cs

Contrassegna un endpoint da memorizzare nella cache con i criteri specificati.

public static TBuilder CacheOutput<TBuilder> (this TBuilder builder, Microsoft.AspNetCore.OutputCaching.IOutputCachePolicy policy) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder;
static member CacheOutput : 'Builder * Microsoft.AspNetCore.OutputCaching.IOutputCachePolicy -> 'Builder (requires 'Builder :> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder)
<Extension()>
Public Function CacheOutput(Of TBuilder As IEndpointConventionBuilder) (builder As TBuilder, policy As IOutputCachePolicy) As TBuilder

Parametri di tipo

TBuilder

Parametri

builder
TBuilder

Restituisce

TBuilder

Si applica a

CacheOutput<TBuilder>(TBuilder, Action<OutputCachePolicyBuilder>)

Origine:
OutputCacheConventionBuilderExtensions.cs

Contrassegna un endpoint da memorizzare nella cache usando il generatore di criteri specificato.

public static TBuilder CacheOutput<TBuilder> (this TBuilder builder, Action<Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder> policy) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder;
static member CacheOutput : 'Builder * Action<Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder> -> 'Builder (requires 'Builder :> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder)
<Extension()>
Public Function CacheOutput(Of TBuilder As IEndpointConventionBuilder) (builder As TBuilder, policy As Action(Of OutputCachePolicyBuilder)) As TBuilder

Parametri di tipo

TBuilder

Parametri

builder
TBuilder

Oggetto IEndpointConventionBuilder.

Restituisce

TBuilder

Si applica a

CacheOutput<TBuilder>(TBuilder, String)

Origine:
OutputCacheConventionBuilderExtensions.cs

Contrassegna un endpoint da memorizzare nella cache usando un criterio denominato.

public static TBuilder CacheOutput<TBuilder> (this TBuilder builder, string policyName) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder;
static member CacheOutput : 'Builder * string -> 'Builder (requires 'Builder :> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder)
<Extension()>
Public Function CacheOutput(Of TBuilder As IEndpointConventionBuilder) (builder As TBuilder, policyName As String) As TBuilder

Parametri di tipo

TBuilder

Parametri

builder
TBuilder
policyName
String

Restituisce

TBuilder

Si applica a

CacheOutput<TBuilder>(TBuilder, Action<OutputCachePolicyBuilder>, Boolean)

Origine:
OutputCacheConventionBuilderExtensions.cs

Contrassegna un endpoint da memorizzare nella cache usando il generatore di criteri specificato.

public static TBuilder CacheOutput<TBuilder> (this TBuilder builder, Action<Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder> policy, bool excludeDefaultPolicy) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder;
static member CacheOutput : 'Builder * Action<Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder> * bool -> 'Builder (requires 'Builder :> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder)
<Extension()>
Public Function CacheOutput(Of TBuilder As IEndpointConventionBuilder) (builder As TBuilder, policy As Action(Of OutputCachePolicyBuilder), excludeDefaultPolicy As Boolean) As TBuilder

Parametri di tipo

TBuilder

Parametri

builder
TBuilder

Oggetto IEndpointConventionBuilder.

excludeDefaultPolicy
Boolean

Indica se escludere o meno i criteri predefiniti.

Restituisce

TBuilder

Si applica a