Class BrowserKeyValueStore
An IKeyValueStore implementation that uses browser host capabilities for storage.
Inheritance
BrowserKeyValueStore
Assembly: Unity.Cloud.Common.Runtime.dll
Syntax
public class BrowserKeyValueStore : IKeyValueStore
Constructors
BrowserKeyValueStore()
Creates a BrowserKeyValueStore instance.
Declaration
public BrowserKeyValueStore()
Exceptions
Methods
DeleteCacheAsync(string)
Declaration
public Task DeleteCacheAsync(string filename)
Parameters
| Type |
Name |
Description |
| string |
filename |
|
Returns
ReadCacheAsync(string)
Declaration
public Task<string> ReadCacheAsync(string filename)
Parameters
| Type |
Name |
Description |
| string |
filename |
|
Returns
ValidateFilenameExistsAsync(string)
Declaration
public Task<bool> ValidateFilenameExistsAsync(string filename)
Parameters
| Type |
Name |
Description |
| string |
filename |
|
Returns
WriteToCacheAsync(string, string)
Declaration
public Task WriteToCacheAsync(string filename, string content)
Parameters
Returns
Implements