1 write to _secrets
dotnet-user-secrets (1)
Internal\SecretsStore.cs (1)
37
_secrets
= Load(userSecretsId);
10 references to _secrets
dotnet-user-secrets (10)
Internal\SecretsStore.cs (10)
44
return
_secrets
[key];
48
public int Count =>
_secrets
.Count;
53
public bool ContainsKey(string key) =>
_secrets
.ContainsKey(key);
55
public IEnumerable<KeyValuePair<string, string>> AsEnumerable() =>
_secrets
;
57
public void Clear() =>
_secrets
.Clear();
59
public void Set(string key, string value) =>
_secrets
[key] = value;
63
if (
_secrets
.ContainsKey(key))
65
_secrets
.Remove(key);
74
if (
_secrets
!= null)
76
foreach (var secret in
_secrets
.AsEnumerable())