DeOps.Implementation.WebCache.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
        public override bool Equals(object obj)
        {
            WebCache check = obj as WebCache;

            if(check == null)
                return false;

            if (string.Compare(Address, check.Address) != 0)
                return false;

            if( !Utilities.MemCompare(AccessKey, check.AccessKey))
                return false;

            return true;
        }