Org.IdentityConnectors.Framework.Api.ConnectorKey.Equals C# (CSharp) Method

Equals() public method

public Equals ( object o ) : bool
o object
return bool
        public override bool Equals(object o)
        {
            if (o is ConnectorKey)
            {
                ConnectorKey other = (ConnectorKey)o;
                if (!_bundleName.Equals(other._bundleName))
                {
                    return false;
                }
                if (!_bundleVersion.Equals(other._bundleVersion))
                {
                    return false;
                }
                if (!_connectorName.Equals(other._connectorName))
                {
                    return false;
                }
                return true;
            }
            return false;
        }