blob: 2540ad72082ed14cdc1318072eeac371bbf6c133 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
namespace MatrixRoomUtils.Core.Interfaces.Services;
public interface IStorageProvider {
// save
public async Task SaveAll() {
Console.WriteLine($"StorageProvider<{GetType().Name}> does not implement Save()!");
}
public async Task SaveObject<T>(string key, T value) {
Console.WriteLine($"StorageProvider<{GetType().Name}> does not implement SaveObject<T>(key, value)!");
}
// delete
public async Task DeleteObject(string key) {
Console.WriteLine($"StorageProvider<{GetType().Name}> does not implement DeleteObject(key)!");
}
}
|