Revenj.TreePath.Equals C# (CSharp) Method

Equals() public method

Check for equality. Same as checking for string representation equality.
public Equals ( object obj ) : bool
obj object string or TreePath
return bool
        public override bool Equals(object obj)
        {
            return obj is TreePath && ((TreePath)obj).Value == this.Value
                || obj is string && (string)obj == this.Value;
        }