System.Xml.Xsl.XsltOld.OutputScopeManager.PopScope C# (CSharp) Method

PopScope() private method

private PopScope ( ) : void
return void
        internal void PopScope() {
            OutputScope elementScope = (OutputScope) this.elementScopesStack.Pop();

            Debug.Assert(elementScope != null); // We adding rootElementScope to garantee this

            for (NamespaceDecl scope = elementScope.Scopes; scope != null; scope = scope.Next) {
                this.defaultNS = scope.PrevDefaultNsUri;
            }
        }

Usage Example

Ejemplo n.º 1
0
 private void PopElementScope()
 {
     if (_popScope)
     {
         _scopeManager.PopScope();
         _popScope = false;
     }
 }