Equals() public abstract method

public abstract Equals ( object o ) : bool
o object
return bool
Esempio n. 1
0
        /// <summary>
        /// Processes the authentication data of a Windows identity
        /// </summary>
        /// <param name="rule">FileSystemAccessRule</param>
        /// <param name="identity"></param>
        private void HandleFileSystemAccessRule(FileSystemAccessRule rule, IdentityReference identity)
        {
            if (rule == null)
            {
                return;
            }

            // Ignore all other users
            if (identity.Equals(rule.IdentityReference))
            {
                HandleAccessControlType(rule);
            }
        }