Beispiel #1
0
        public override bool Equals(object obj)
        {
            DirectoryInfoHashed other = (DirectoryInfoHashed)obj;

            if (other == null)
            {
                return(false);
            }
            return(DirectoryEqualityComparer.SamePath(other.m_wrapped, m_wrapped));
        }
Beispiel #2
0
 public DirectoryInfoHashed(DirectoryInfo wrapped)
 {
     m_wrapped  = wrapped;
     m_hashCode = DirectoryEqualityComparer.GetHashCodeStatic(wrapped);
 }