Ejemplo n.º 1
0
        internal void SetCurrentScope(string name)
        {
            if (!Scopes.TryGetValue(name, out PipelineScope scope))
            {
                scope = new PipelineScope(name);
                Scopes.Add(name, scope);
            }

            Scope = scope;
        }
Ejemplo n.º 2
0
        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);
        }