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

Equals() public method

public Equals ( Party otherObj ) : bool
otherObj Party
return bool
        public bool Equals(Party otherObj)
        {
            return otherObj.Id == this.Id
                    && otherObj.Name == this.Name
                    && otherObj.MandatesCount == this.MandatesCount
                    && otherObj.Type == this.Type;
        }

Same methods

Party::Equals ( object obj ) : bool