Пример #1
0
 public ScopeContextRuntime(IScopeMarkupStorageContainer container, ITestRunner runner)
 {
     _runner        = runner;
     _globalContext =
         new PageScopeContext(new PageScopeId(string.Empty, string.Empty), container.GetGlobal());
     _contextStack.Push(_globalContext);
 }
Пример #2
0
 public void SwitchToPageScope(PageScopeContext pageScopeContext)
 {
     _contextStack.Pop();
     _contextStack.Push(pageScopeContext);
 }