System.Xml.Serialization.NameKey.Equals C# (CSharp) Méthode

Equals() public méthode

public Equals ( object other ) : bool
other object
Résultat bool
        public override bool Equals(object other) {
            if (!(other is NameKey)) return false;
            NameKey key = (NameKey)other;
            return name == key.name && ns == key.ns;
        }