Exemplo n.º 1
0
 public bool Equals(GeographyPolygon other)
 {
     bool? nullable = base.BaseEquals(other);
     if (!nullable.HasValue)
     {
         return this.Rings.SequenceEqual<GeographyLineString>(other.Rings);
     }
     return nullable.GetValueOrDefault();
 }
Exemplo n.º 2
0
        public bool Equals(GeographyPolygon other)
        {
            bool?nullable = base.BaseEquals(other);

            if (!nullable.HasValue)
            {
                return(this.Rings.SequenceEqual <GeographyLineString>(other.Rings));
            }
            return(nullable.GetValueOrDefault());
        }
Exemplo n.º 3
0
 public bool Equals(GeographyPolygon other)
 {
     return(this.BaseEquals(other) ?? this.Rings.SequenceEqual(other.Rings));
 }
Exemplo n.º 4
0
 public bool Equals(GeographyPolygon other)
 {
     return this.BaseEquals(other) ?? this.Rings.SequenceEqual(other.Rings);
 }