Ejemplo n.º 1
0
        public InstanceScope(RuntimeInstance inst, bool enterFrame)
        {
            Instance = inst;
            Other = ExecutionContext.Current;

            ExecutionContext.Current = inst;
            if (enterFrame)
                Scope = new ExecutionScope();
        }
Ejemplo n.º 2
0
        public InstanceScope(RuntimeInstance inst, bool enterFrame)
        {
            Instance = inst;
            Other    = ExecutionContext.Current;

            ExecutionContext.Current = inst;
            if (enterFrame)
            {
                Scope = new ExecutionScope();
            }
        }