Org.IdentityConnectors.Framework.Common.Objects.ConnectorAttributeInfo.Equals C# (CSharp) Method

Equals() public method

public Equals ( Object o ) : bool
o Object
return bool
        public override bool Equals(Object o)
        {
            ConnectorAttributeInfo other = o as ConnectorAttributeInfo;
            if (other != null)
            {
                if (!Is(other.Name))
                {
                    return false;
                }
                if (!ValueType.Equals(other.ValueType))
                {
                    return false;
                }
                if (_flags != other._flags)
                {
                    return false;
                }
                return true;
            }
            return false;
        }