Exemplo n.º 1
0
        /// <inheritdoc />
        public override bool DataEquals(IRingMasterBackendRequest obj)
        {
            RequestGetSubtree other = obj as RequestGetSubtree;

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

            if (!base.DataEquals(other))
            {
                return(false);
            }

            return(true);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Determines whether the specified <see cref="object"/> is equal to this instance.
        /// </summary>
        /// <param name="obj">The <see cref="object"/> to compare with this instance.</param>
        /// <returns><c>true</c> if the specified object is equal to this instance; otherwise, <c>false</c>.</returns>
        public override bool Equals(object obj)
        {
            RequestGetSubtree other = obj as RequestGetSubtree;

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

            if (!this.DataEquals(other))
            {
                return(false);
            }

            if (this.RetreivalCondition != other.RetreivalCondition)
            {
                return(false);
            }

            return(true);
        }