Beispiel #1
0
        override public bool Equals(object o)
        {
            SharedFolder rhs = o as SharedFolder;

            if (rhs == null)
            {
                return(false);
            }

            if (!_data.Equals(rhs._data))
            {
                return(false);
            }

            if (!FlagSendAsOwner)
            {
                return(true);
            }

            return(Object.Equals(SendAsAddress, rhs.SendAsAddress));
        }
Beispiel #2
0
 override public bool Equals(object o)
 {
     return(o is SharedFolder && _data.Equals(((SharedFolder)o)._data));
 }