Manager of objects caching and cache.
Inheritance Hierarchy
Nemiro.Data.Caching CacheManager
Namespace: Nemiro.Data.Caching
Assembly: Nemiro.Data (in Nemiro.Data.dll) Version: 2.11.4.126 (2.11.4.126)
Syntax
The CacheManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
Add(ObjectCache, String, Object, DateTimeOffset, String) |
Adds a cache entry into the cache using the specified key and a value and an absolute expiration value.
| |
Add(ObjectCache, String, Object, CacheItemPolicy, String) |
Adds an entry to the cache.
| |
Get |
Returns an entry from the cache.
| |
GetFileCache |
Gets or adds and returns an object in the file system cache.
| |
GetObjectCache |
Gets or adds caching object and returns the specified type.
| |
Remove |
Removes a cache entry from the cache.
|
Properties
Name | Description | |
---|---|---|
FileCache |
File cache.
| |
Items |
Collection caches of current application.
| |
MemoryCache |
Memory Cache.
| |
WebCache |
ASP .NET cache.
|
See Also