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