Passage à ASP.NET vNext
This commit is contained in:
parent
ea90fefc31
commit
388b004837
1929 changed files with 104611 additions and 235941 deletions
16
Yavsc/src/Interfaces/IDataStore.cs
Normal file
16
Yavsc/src/Interfaces/IDataStore.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yavsc.Interfaces {
|
||||
|
||||
public interface IDataStore<T> {
|
||||
|
||||
Task StoreAsync (string key, T value);
|
||||
|
||||
Task DeleteAsync (string key);
|
||||
|
||||
Task<T> GetAsync (string key);
|
||||
|
||||
Task ClearAsync ();
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue