CachingFilePathResolver(IFilePathResolver, IMemoryCache, CachingFilePathResolverOptions?) Constructor

Definition

Assembly CliInvoke.dll

Initialises a new instance of the CachingFilePathResolver class.

public CachingFilePathResolver(IFilePathResolver inner, IMemoryCache cache, CachingFilePathResolverOptions? options = null)

Parameters

inner
IFilePathResolver

The resolver delegated to on a cache miss. Must use PATH-first resolution.

cache
IMemoryCache

The shared memory cache (typically registered as a Singleton).

options
CachingFilePathResolverOptions

Optional caching options; defaults to Default.