Class InMemoryBlobCache
- Namespace
- Akavache
- Assembly
- Akavache.dll
This class is an IBlobCache backed by a simple in-memory Dictionary with Newtonsoft.Json serialization. Use it for testing / mocking purposes.
public sealed class InMemoryBlobCache : InMemoryBlobCacheBase, ISecureBlobCache, IBlobCache, IDisposable, IAsyncDisposable
- Inheritance
-
InMemoryBlobCache
- Implements
- Inherited Members
- Extension Methods
Remarks
Initializes a new instance of the InMemoryBlobCache class.
Constructors
InMemoryBlobCache(ISerializer)
Initializes a new instance of the InMemoryBlobCache class.
public InMemoryBlobCache(ISerializer serializer)
Parameters
serializerISerializerThe serializer to use for object serialization/deserialization.
InMemoryBlobCache(IScheduler, ISerializer?)
This class is an IBlobCache backed by a simple in-memory Dictionary with Newtonsoft.Json serialization. Use it for testing / mocking purposes.
public InMemoryBlobCache(IScheduler scheduler, ISerializer? serializer)
Parameters
schedulerISchedulerThe scheduler to use for Observable based operations.
serializerISerializerThe serializer to use for serializing and deserializing data.
Remarks
Initializes a new instance of the InMemoryBlobCache class.
- See Also
InMemoryBlobCache(string)
Initializes a new instance of the InMemoryBlobCache class with default scheduler.
public InMemoryBlobCache(string serialzerType)
Parameters
serialzerTypestringType of the serialzer.