1 write to _secrets
aspire (1)
src\Shared\UserSecrets\SecretsStore.cs (1)
33
_secrets
= Load(secretsFilePath);
8 references to _secrets
aspire (8)
src\Shared\UserSecrets\SecretsStore.cs (8)
44
public int Count =>
_secrets
.Count;
49
public void Set(string key, string value) =>
_secrets
[key] = value;
54
public string? Get(string key) =>
_secrets
.GetValueOrDefault(key);
59
public bool Remove(string key) =>
_secrets
.Remove(key);
64
public bool ContainsKey(string key) =>
_secrets
.ContainsKey(key);
69
public IEnumerable<KeyValuePair<string, string>> AsEnumerable() =>
_secrets
;
74
public List<KeyValuePair<string, string>> ToList() => [..
_secrets
];
88
foreach (var (key, value) in
_secrets
)