Org.IdentityConnectors.Framework.Common.Objects.SyncDelta.Equals C# (CSharp) Method

Equals() public method

public Equals ( Object o ) : bool
o Object
return bool
        public override bool Equals(Object o)
        {
            if (o is SyncDelta)
            {
                SyncDelta other = (SyncDelta)o;
                if (!_token.Equals(other._token))
                {
                    return false;
                }
                if (!_deltaType.Equals(other._deltaType))
                {
                    return false;
                }
                if (_previousUid == null)
                {
                    if (other._previousUid != null)
                    {
                        return false;
                    }
                }
                else if (!_previousUid.Equals(other._previousUid))
                {
                    return false;
                }
                if (_objectClass == null)
                {
                    if (other._objectClass != null)
                    {
                        return false;
                    }
                }
                else if (!_objectClass.Equals(other._objectClass))
                {
                    return false;
                }
                if (!_uid.Equals(other._uid))
                {
                    return false;
                }
                if (_object == null)
                {
                    if (other._object != null)
                    {
                        return false;
                    }
                }
                else if (!_object.Equals(other._object))
                {
                    return false;
                }
                return true;
            }
            return false;
        }

Same methods

SyncDelta::Equals ( SyncDelta other ) : bool