nl.siegmann.epublib.domain.Author.equals C# (CSharp) 메소드

equals() 공개 메소드

public equals ( Object authorObject ) : bool
authorObject Object
리턴 bool
        public bool equals(Object authorObject)
        {
            if (!(authorObject.GetType() == typeof(Author)))
            {
                return false;
            }
            var other = (Author)authorObject;
            return StringUtil.equals(firstname, other.firstname)
             && StringUtil.equals(lastname, other.lastname);
        }