-
-
Notifications
You must be signed in to change notification settings - Fork 44
dataabstractions IDataValueCacheTT
RaidMax edited this page May 21, 2023
·
1 revision
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph Data.Abstractions
Data.Abstractions.IDataValueCache_2[[IDataValueCache< TEntityType,TReturnType >]]
class Data.Abstractions.IDataValueCache_2 interfaceStyle;
end
Returns | Name |
---|---|
Task <TReturnType > |
GetCacheItem (... ) |
void |
SetCacheItem (... ) |
public void SetCacheItem(Func<DbSet<TEntityType>, CancellationToken, Task<TReturnType>> itemGetter, string keyName, Nullable<TimeSpan> expirationTime, bool autoRefresh)
Type | Name | Description |
---|---|---|
Func <DbSet <TEntityType >, CancellationToken , Task <TReturnType >> |
itemGetter | |
string |
keyName | |
Nullable <TimeSpan > |
expirationTime | |
bool |
autoRefresh |
public void SetCacheItem(Func<DbSet<TEntityType>, IEnumerable<object>, CancellationToken, Task<TReturnType>> itemGetter, string keyName, IEnumerable<object> ids, Nullable<TimeSpan> expirationTime, bool autoRefresh)
Type | Name | Description |
---|---|---|
Func <DbSet <TEntityType >, IEnumerable <object >, CancellationToken , Task <TReturnType >> |
itemGetter | |
string |
keyName | |
IEnumerable <object > |
ids | |
Nullable <TimeSpan > |
expirationTime | |
bool |
autoRefresh |
public Task<TReturnType> GetCacheItem(string keyName, CancellationToken token)
Type | Name | Description |
---|---|---|
string |
keyName | |
CancellationToken |
token |
public Task<TReturnType> GetCacheItem(string keyName, IEnumerable<object> ids, CancellationToken token)
Type | Name | Description |
---|---|---|
string |
keyName | |
IEnumerable <object > |
ids | |
CancellationToken |
token |
Generated with ModularDoc