BinaryStudio.ClientManager.DomainModel.Entities.Person.Equals C# (CSharp) Méthode

Equals() public méthode

public Equals ( Person other ) : bool
other Person
Résultat bool
        public bool Equals(Person other)
        {
            if (ReferenceEquals(null, other)) return false;
            if (ReferenceEquals(this, other)) return true;
            return other.Id == Id && Equals(other.FirstName, FirstName) && Equals(other.LastName, LastName) && other.CreationDate.Equals(CreationDate) && Equals(other.Email, Email) && other.Role == Role;
        }

Same methods

Person::Equals ( object obj ) : bool