Пример #1
0
        public override bool Equals(object obj)
        {
            SetACLRequest peer = (SetACLRequest)obj;

            if (peer == null)
            {
                return(false);
            }
            if (Object.ReferenceEquals(peer, this))
            {
                return(true);
            }
            bool ret = false;

            ret = Path.Equals(peer.Path);
            if (!ret)
            {
                return(ret);
            }
            ret = Acl.Equals(peer.Acl);
            if (!ret)
            {
                return(ret);
            }
            ret = (Version == peer.Version);
            if (!ret)
            {
                return(ret);
            }
            return(ret);
        }
Пример #2
0
        public override bool Equals(object obj)
        {
            SetACLRequest objA = (SetACLRequest)obj;

            if (objA == null)
            {
                return(false);
            }
            if (object.ReferenceEquals(objA, this))
            {
                return(true);
            }
            bool flag = false;

            flag = this.Path.Equals(objA.Path);
            if (flag)
            {
                flag = this.Acl.Equals(objA.Acl);
                if (!flag)
                {
                    return(flag);
                }
                flag = this.Version == objA.Version;
                if (!flag)
                {
                    return(flag);
                }
            }
            return(flag);
        }
Пример #3
0
        public override bool Equals(object obj)
        {
            SetACLRequest setAclRequest = (SetACLRequest)obj;

            if (setAclRequest == null)
            {
                return(false);
            }
            if (object.ReferenceEquals((object)setAclRequest, (object)this))
            {
                return(true);
            }
            bool flag1 = this.Path.Equals(setAclRequest.Path);

            if (!flag1)
            {
                return(flag1);
            }
            bool flag2 = this.Acl.Equals((object)setAclRequest.Acl);

            if (!flag2)
            {
                return(flag2);
            }
            bool flag3 = this.Version == setAclRequest.Version;

            if (!flag3)
            {
                return(flag3);
            }
            return(flag3);
        }