Table of Contents

Interface ILocalResourceCache

Namespace
Acuit.Pinpoint.ResourceManagement
Assembly
Acuit.Pinpoint.ResourceManagement.Abstractions.dll

A persistent local cache for resource values.

public interface ILocalResourceCache

Remarks

Objects serializable via BinaryFormatter (i.e., classes marked with SerializableAttribute) are supported.

Methods

CreateCacheEntryReference(Uri)

Creates a reference to a cache entry.

ILocalCacheEntryReference CreateCacheEntryReference(Uri url)

Parameters

url Uri

The URL representing the cache key for the object.

Returns

ILocalCacheEntryReference

A ILocalCacheEntryReference that can be used to access the cache entry and that should be disposed when the reference is no longer needed.

Exceptions

ArgumentNullException

url is null.