System.Xml.Schema.ChameleonKey.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
        public override bool Equals(object obj) {
            if (Ref.ReferenceEquals(this,obj)) {
                return true;
            }
            ChameleonKey cKey = obj as ChameleonKey;
            if (cKey != null) {
                return this.targetNS.Equals(cKey.targetNS) && this.chameleonLocation.Equals(cKey.chameleonLocation);
            }
            return false;
        }
    }