<PackageReference Include="Polly" Version="8.4.2" />

ICachePolicy<TResult>

public interface ICachePolicy<TResult> : ICachePolicy, IsPolicy
Defines properties and methods common to all Cache policies generic-typed for executions returning results of type TResult.
using System.Runtime.CompilerServices; namespace Polly.Caching { public interface ICachePolicy<[System.Runtime.CompilerServices.Nullable(2)] TResult> : ICachePolicy, IsPolicy { } }