Interface ICacheMigrator<TValue>
Interface to migrate cache data
Namespace: Pixiv.VroidSdk.Cache.Migrate
Assembly: Pixiv.VroidSdk.dll
Syntax
public interface ICacheMigrator<TValue>
where TValue : class
Type Parameters
Name | Description |
---|---|
TValue | ICacheStorage<TValue> type argument |
Methods
Migrate(IFileReadWriteDelete, ICacheStorage<TValue>)
Migrate
Declaration
void Migrate(IFileReadWriteDelete fileReadWrite, ICacheStorage<TValue> storage)
Parameters
Type | Name | Description |
---|---|---|
IFileReadWriteDelete | fileReadWrite | Module to read and write cache data |
ICacheStorage<TValue> | storage | Store cache dataICacheStorage<TValue> |