示例#1
0
 public bool Equals(ScanArea other)
 {
     return(Name.Equals(other.Name) &&
            Prefix.Equals(other.Prefix) &&
            Suffix.Equals(other.Suffix) &&
            Location.Equals(other.Location) &&
            Exclusions.SequenceEqual(other.Exclusions) &&
            Inclusions.SequenceEqual(other.Inclusions));
 }
示例#2
0
 public bool Equals(FoundPokemon other)
 {
     return(Kind == other.Kind && Location.Equals(other.Location));
 }