System.Xml.Xsl.XsltOld.InputScope.IsExcludedNamespace C# (CSharp) Method

IsExcludedNamespace() private method

private IsExcludedNamespace ( String nspace ) : bool
nspace String
return bool
        internal bool IsExcludedNamespace(String nspace) {
            if (excludedNamespaces == null ) {
                return false;
            }
            return excludedNamespaces.Contains(nspace);
        }
        

Usage Example

Ejemplo n.º 1
0
 internal bool IsExcludedNamespace(String nspace)
 {
     Debug.Assert(this.scopeStack != null, "PushScope wasn't called");
     for (InputScope inputScope = this.scopeStack; inputScope != null; inputScope = inputScope.Parent)
     {
         if (inputScope.IsExcludedNamespace(nspace))
         {
             return(true);
         }
     }
     return(false);
 }