Domain.Client.ValueObjects.DateOfBirth.Equals C# (CSharp) Method

Equals() public method

public Equals ( DateOfBirth other ) : bool
other DateOfBirth
return bool
        public virtual bool Equals(DateOfBirth other)
        {
            if (null != other && other.GetType() == GetType())
            {
                return other.Date == Date;
            }

            return false;
        }

Same methods

DateOfBirth::Equals ( object obj ) : bool