OutputCachePolicyBuilder.With 메서드

정의

오버로드

With(Func<OutputCacheContext,Boolean>)

현재 정책에 요구 사항을 추가합니다.

With(Func<OutputCacheContext,CancellationToken,ValueTask<Boolean>>)

현재 정책에 요구 사항을 추가합니다.

With(Func<OutputCacheContext,Boolean>)

Source:
OutputCachePolicyBuilder.cs

현재 정책에 요구 사항을 추가합니다.

public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder With (Func<Microsoft.AspNetCore.OutputCaching.OutputCacheContext,bool> predicate);
member this.With : Func<Microsoft.AspNetCore.OutputCaching.OutputCacheContext, bool> -> Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder
Public Function With (predicate As Func(Of OutputCacheContext, Boolean)) As OutputCachePolicyBuilder

매개 변수

predicate
Func<OutputCacheContext,Boolean>

정책에 적용되는 조건자입니다.

반환

적용 대상

With(Func<OutputCacheContext,CancellationToken,ValueTask<Boolean>>)

Source:
OutputCachePolicyBuilder.cs

현재 정책에 요구 사항을 추가합니다.

public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder With (Func<Microsoft.AspNetCore.OutputCaching.OutputCacheContext,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask<bool>> predicate);
member this.With : Func<Microsoft.AspNetCore.OutputCaching.OutputCacheContext, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<bool>> -> Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder
Public Function With (predicate As Func(Of OutputCacheContext, CancellationToken, ValueTask(Of Boolean))) As OutputCachePolicyBuilder

매개 변수

predicate
Func<OutputCacheContext,CancellationToken,ValueTask<Boolean>>

정책에 적용되는 조건자입니다.

반환

적용 대상