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