Aracılığıyla paylaş


OutputCacheOptions.AddBasePolicy Yöntem

Tanım

Aşırı Yüklemeler

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

AddBasePolicy(IOutputCachePolicy)

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

Parametreler

Şunlara uygulanır

AddBasePolicy(Action<OutputCachePolicyBuilder>)

Kaynak:
OutputCacheOptions.cs
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))

Parametreler

Şunlara uygulanır

AddBasePolicy(Action<OutputCachePolicyBuilder>, Boolean)

Kaynak:
OutputCacheOptions.cs
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)

Parametreler

excludeDefaultPolicy
Boolean

Şunlara uygulanır