Interface ICachedObject
Interface for objects that support caching with a unique identifier and cache management methods.
public interface ICachedObject
Properties
ID
Gets the unique identifier for this cached object.
int ID { get; }
Property Value
Methods
AddToCache(string)
Adds the object to a cache, using the provided object name as a key or reference.
void AddToCache(string objectName)
Parameters
objectNamestringThe name or key to associate with the cached object.
RemoveFromCache()
Removes the object from the cache.
void RemoveFromCache()