OutputCacheOptions.AddBasePolicy Método

Definição

Sobrecargas

AddBasePolicy(IOutputCachePolicy)
AddBasePolicy(Action<OutputCachePolicyBuilder>)
AddBasePolicy(Action<OutputCachePolicyBuilder>, Boolean)

AddBasePolicy(IOutputCachePolicy)

public void AddBasePolicy (Microsoft.AspNetCore.OutputCaching.IOutputCachePolicy policy);
member this.AddBasePolicy : Microsoft.AspNetCore.OutputCaching.IOutputCachePolicy -> unit
Public Sub AddBasePolicy (policy As IOutputCachePolicy)

Parâmetros

Aplica-se a

AddBasePolicy(Action<OutputCachePolicyBuilder>)

public void AddBasePolicy (Action<Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder> build);
member this.AddBasePolicy : Action<Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder> -> unit
Public Sub AddBasePolicy (build As Action(Of OutputCachePolicyBuilder))

Parâmetros

Aplica-se a

AddBasePolicy(Action<OutputCachePolicyBuilder>, Boolean)

public void AddBasePolicy (Action<Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder> build, bool excludeDefaultPolicy);
member this.AddBasePolicy : Action<Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder> * bool -> unit
Public Sub AddBasePolicy (build As Action(Of OutputCachePolicyBuilder), excludeDefaultPolicy As Boolean)

Parâmetros

excludeDefaultPolicy
Boolean

Aplica-se a