Interface IDataCacheService
Assembly: Simplic.Cache.dll
Syntax
public interface IDataCacheService
Methods
|
Improve this Doc
View Source
Get<T>(String, String, String, Func<Task<T>>)
Declaration
Task<T> Get<T>(string type, string keyName, string key, Func<Task<T>> func)
Parameters
Type |
Name |
Description |
System.String |
type |
|
System.String |
keyName |
|
System.String |
key |
|
System.Func<System.Threading.Tasks.Task<T>> |
func |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<T> |
|
Type Parameters
|
Improve this Doc
View Source
Remove(String, IDictionary<String, String>)
Declaration
Task Remove(string type, IDictionary<string, string> ids)
Parameters
Type |
Name |
Description |
System.String |
type |
|
System.Collections.Generic.IDictionary<System.String, System.String> |
ids |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
Set<T>(String, IDictionary<String, String>, T)
Declaration
Task Set<T>(string type, IDictionary<string, string> ids, T obj)
Parameters
Type |
Name |
Description |
System.String |
type |
|
System.Collections.Generic.IDictionary<System.String, System.String> |
ids |
|
T |
obj |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters