Bamboo.Prevalence.Indexing.FullText.Token.Equals C# (CSharp) Method

Equals() public method

Tokens are equal if both properties, Value and Position, are considered equal.
public Equals ( object other ) : bool
other object object to test equality for
return bool
		public override bool Equals(object other)
		{
			Token token = other as Token;
			if (null == token)
			{
				return false;
			}
			return _position == token._position && _value == token._value;
		}