OpenQA.Selenium.Speed.Equals C# (CSharp) Method

Equals() public method

Determines whether the specified Object is equal to the current Object.
public Equals ( object obj ) : bool
obj object The Object to compare with the /// current Object.
return bool
        public override bool Equals(object obj)
        {
            bool isEqual = false;
            Speed otherObject = obj as Speed;
            if (otherObject != null)
            {
                isEqual = string.Compare(otherObject.Description, speedDescription, StringComparison.OrdinalIgnoreCase) == 0;
            }

            return base.Equals(obj);
        }