Lucene.Net.Search.ShardSearchingTestBase.FieldAndShardVersion.Equals C# (CSharp) Method

Equals() public method

public Equals ( object _other ) : bool
_other object
return bool
            public override bool Equals(object _other)
            {
                if (!(_other is FieldAndShardVersion))
                {
                    return false;
                }

                FieldAndShardVersion other = (FieldAndShardVersion)_other;

                return Field.Equals(other.Field) && Version == other.Version && NodeID == other.NodeID;
            }
ShardSearchingTestBase.FieldAndShardVersion