Method GetAsync
- Namespace
- UsluzionicaServer.Infrastructure.Redis
- Assembly
- UsluzionicaServer.dll
GetAsync<T>(string)
Čita i deserijalizuje. Vraća null i pri promašaju i pri grešci.
public Task<T?> GetAsync<T>(string key) where T : class
Parameters
keystring
Returns
- Task<T>
Type Parameters
T