示例#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);
 }