作用域配置

This commit is contained in:
czj
2026-06-05 14:29:22 +08:00
parent 347f292e9b
commit bb4fe61ded
5 changed files with 131 additions and 127 deletions

View File

@@ -11,6 +11,7 @@ namespace UIShare.GlobalVariable
public event EventHandler? ScopeChanged;
public Dictionary<string,ScopedContext> ContextDic { get; set; }
public Dictionary<string,StepRunning> StepRunningDic { get; set; }
public Dictionary<string, IScopedProvider> ScopeDic { get; set; }
public String UserName { get; set; } = "Not Logged in";
public bool IsAdmin { get; set; } = true;
private string _currentScope = "default";
@@ -30,6 +31,7 @@ namespace UIShare.GlobalVariable
{
ContextDic = new();
StepRunningDic = new();
ScopeDic = new();
CurrentScope = "default";
}