=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
/// <summary>
|
||||
/// Provides static access to global application data and configuration values.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=8205a2a -->
|
||||
public static class GlobalData
|
||||
{
|
||||
public static Dictionary<string, object> Data = new();
|
||||
@@ -12,6 +13,7 @@ public static class GlobalData
|
||||
/// </summary>
|
||||
/// <param name="key">The key used to identify the data entry in the store.</param>
|
||||
/// <param name="value">The value to associate with the specified key.</param>
|
||||
/// <!-- aidoc:v1 sig=844414c body=7ffcd39 -->
|
||||
public static void AddData(string key, object value)
|
||||
{
|
||||
var exists = Data.ContainsKey(key);
|
||||
|
||||
Reference in New Issue
Block a user