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