Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
namespace adas_core.Domain.Utils;
|
||||
|
||||
public static class GlobalData
|
||||
{
|
||||
public static Dictionary<string, object> Data = new();
|
||||
|
||||
public static void AddData(string key, object value)
|
||||
{
|
||||
var exists = Data.ContainsKey(key);
|
||||
if (exists)
|
||||
Data[key] = value;
|
||||
else
|
||||
Data.Add(key, value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user