예제 #1
0
 public void Set(string key, LeaseData data) => Secrets.TryAdd(key, data);
예제 #2
0
 public void Set(string key, LeaseData data)
 {
     Secrets.TryRemove(key, out _);
     Secrets.TryAdd(key, data);
 }