System.Security.Util.StringExpressionSet.IsSubsetOfPathDiscovery C# (CSharp) Method

IsSubsetOfPathDiscovery() public method

public IsSubsetOfPathDiscovery ( StringExpressionSet ses ) : bool
ses StringExpressionSet
return bool
        public bool IsSubsetOfPathDiscovery( StringExpressionSet ses )
        {
            if (this.IsEmpty())
                return true;
            
            if (ses == null || ses.IsEmpty())
                return false;
            
            CheckList();
            ses.CheckList();
            
            for (int index = 0; index < this.m_list.Count; ++index)
            {
                if (!StringSubsetStringExpressionPathDiscovery( (String)this.m_list[index], ses, m_ignoreCase ))
                {
                    return false;
                }
            }
            return true;
        }