OutputCachePolicyBuilder.With 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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>>
정책에 적용되는 조건자입니다.