예제 #1
0
        public bool Equals(ClientResourceItem obj)
        {
            if (obj == null)
            {
                return(false);
            }

            return((this.Path.IsNotEmpty() && this.Path == obj.Path) || (this.PathEmbedded.IsNotEmpty() && this.PathEmbedded == obj.PathEmbedded));
        }
예제 #2
0
        public override bool Equals(object obj)
        {
            ClientResourceItem r = obj as ClientResourceItem;

            if ((object)r == null)
            {
                return(false);
            }

            return((this.Path.IsNotEmpty() && this.Path == r.Path) || (this.PathEmbedded.IsNotEmpty() && this.PathEmbedded == r.PathEmbedded));
        }
예제 #3
0
        public bool Equals(ClientResourceItem obj)
        {
            if (obj == null)
            {
                return false;
            }

            return (this.Path.IsNotEmpty() && this.Path == obj.Path) || (this.PathEmbedded.IsNotEmpty() && this.PathEmbedded == obj.PathEmbedded);
        }