Batman.MVC.Assets.Asset.Equals C# (CSharp) Method

Equals() public method

Determines if the two objects are equal
public Equals ( object obj ) : bool
obj object Object to compare to
return bool
        public override bool Equals(object obj)
        {
            if (obj == null)
                return false;
            var TempAsset = obj as Asset;
            if (obj == null)
                return false;
            return TempAsset.Path.ToUpperInvariant() == Path.ToUpperInvariant();
        }