Exemplo n.º 1
0
 public bool Equals(SongBase other)
 {
     return((FileSystemFriendlyName.Equals(other.FileSystemFriendlyName)) &&
            (InternalName.Equals(other.InternalName)) &&
            (Identifier.Equals(other.Identifier)) &&
            (Artist.Equals(other.Artist)) &&
            (TrackName.Equals(other.TrackName)));
 }
Exemplo n.º 2
0
        public override bool Equals(object obj)
        {
            var part = obj as GameParticipant;

            return(part != null && InternalName.Equals(part.InternalName));
        }