DiscogsNet.Model.PaginationRequest.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
        public override bool Equals(object obj)
        {
            PaginationRequest other = obj as PaginationRequest;
            if (other == null)
            {
                return false;
            }

            return
                this.Page == other.Page &&
                this.PerPage == other.PerPage;
        }