Microsoft.ResourceManagement.ObjectModel.RmAttributeChange.Equals C# (CSharp) Method

Equals() public method

Determines whether the specified T:System.Object is equal to the current T:System.Object.
/// The parameter is null. ///
public Equals ( object obj ) : bool
obj object The to compare with the current .
return bool
        public override bool Equals(object obj)
        {
            RmAttributeChange other = obj as RmAttributeChange;
            if (other == null) {
                return false;
            }
            if (this.Name == null) {
                return false;
            }
            if (this.Name.Equals(other.Name) == false) {
                return false;
            }
            if (this.Value == null) {
                return other.Value == null;
            } else {
                return this.Value.Equals(other.Value);
            }
        }