Esempio n. 1
0
 public async Task TryAddAsync(string key, Task <object> value) =>
 await DataSharingService.GetInstance().AddOrUpdateAsync(key, value, Configuration);
Esempio n. 2
0
 public void TryAdd(string key, object value) =>
 DataSharingService.GetInstance().AddOrUpdate(key, value, Configuration);
Esempio n. 3
0
 public async Task <object> TryGetValueAsync(string key, int timeoutInMs = DataSharingService.DefaultTimeoutInMs) =>
 await DataSharingService.GetInstance().GetValueAsync(key, Configuration, timeoutInMs);
Esempio n. 4
0
 public object TryGetValue(string key, int timeoutInMs = DataSharingService.DefaultTimeoutInMs) =>
 DataSharingService.GetInstance().GetValue(key, Configuration);