Inheritance: System.Attribute
        public override bool Equals(object obj)
        {
            if (obj == this)
            {
                return(true);
            }
            InstallerTypeAttribute attribute = obj as InstallerTypeAttribute;

            return((attribute != null) && (attribute._typeName == this._typeName));
        }
Ejemplo n.º 2
0
        public override bool Equals(object obj)
        {
            if (obj == this)
            {
                return(true);
            }

            InstallerTypeAttribute other = obj as InstallerTypeAttribute;

            return((other != null) && other._typeName == _typeName);
        }
Ejemplo n.º 3
0
        // Determine if two type converter attributes are equal.
        public override bool Equals(Object obj)
        {
            InstallerTypeAttribute a = (obj as InstallerTypeAttribute);

            if (a != null)
            {
                return(a.typeName == typeName);
            }
            else
            {
                return(false);
            }
        }