public virtual bool IsSubsetOf( LocalSiteString operand, bool ignoreCase ) { if (operand == null) { return false; } else if (operand.m_separatedSite.Count == 0) { return this.m_separatedSite.Count == 0 || this.m_separatedSite.Count > 0 && String.Compare( (String)this.m_separatedSite[0], "*", false, CultureInfo.InvariantCulture) == 0; } else if (this.m_separatedSite.Count == 0) { return String.Compare( (String)operand.m_separatedSite[0], "*", false, CultureInfo.InvariantCulture) == 0; } else { return base.IsSubsetOf( operand, ignoreCase ); } }
public virtual bool IsSubsetOf( LocalSiteString operand ) { return this.IsSubsetOf( operand, true ); }