CachingResourceProvider(ResourceProvider) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a caching proxy around the specified resource provider.
public CachingResourceProvider(SkiaSharp.Resources.ResourceProvider resourceProvider);
Parameters
- resourceProvider
- ResourceProvider
The underlying resource provider to wrap with caching.
Remarks
Image assets loaded through this provider will be cached and reused on subsequent requests for the same resource.