ElectionsMandateCalculator.Models.Candidate.Equals C# (CSharp) Method

Equals() public method

public Equals ( Candidate otherObj ) : bool
otherObj Candidate
return bool
        public bool Equals(Candidate otherObj)
        {
            return otherObj.MirId == this.MirId
                    && otherObj.PartyId == this.PartyId
                    && otherObj.PartyType == this.PartyType
                    && otherObj.Name == this.Name;
        }

Same methods

Candidate::Equals ( object obj ) : bool