Lucene.Net.Spatial.DisjointSpatialFilter.Equals C# (CSharp) Метод

Equals() публичный Метод

public Equals ( object o ) : bool
o object
Результат bool
        public override bool Equals(object o)
        {
            if (this == o)
            {
                return true;
            }
            if (o == null || GetType() != o.GetType())
            {
                return false;
            }
            var that = (DisjointSpatialFilter)o;
            if (field != null ? !field.Equals(that.field) : that.field != null)
            {
                return false;
            }
            if (!intersectsFilter.Equals(that.intersectsFilter))
            {
                return false;
            }
            return true;
        }