internal void SetCurrentScope(string name) { if (!Scopes.TryGetValue(name, out PipelineScope scope)) { scope = new PipelineScope(name); Scopes.Add(name, scope); } Scope = scope; }
public void AddObjectToScope(string name, object value) { if (!Scopes.TryGetValue(name, out PipelineScope scope)) { scope = new PipelineScope(name); Scopes.Add(name, scope); } scope.AddObject(value); }