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)); }
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)); }
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); }