/// <summary> /// Indicates whether the current object is equal to another object of the same type. /// </summary> /// <param name="other">An object to compare with this object.</param> /// <returns> /// <c>true</c> if the current object is equal to the other parameter; otherwise, <c>false</c>. /// </returns> public bool Equals(AttributeKey other) { return(other != null && FriendlyName.Equals(other.FriendlyName, StringComparison.Ordinal) && Name.Equals(other.Name, StringComparison.Ordinal) && NameFormat.Equals(other.NameFormat, StringComparison.Ordinal) && Namespace.Equals(other.Namespace, StringComparison.Ordinal) && OriginalIssuer.Equals(other.OriginalIssuer, StringComparison.Ordinal) && ValueType.Equals(other.ValueType, StringComparison.Ordinal)); }
/// <summary> /// Indicates whether the current object is equal to another object of the same type. /// </summary> /// <param name="other">An object to compare with this object.</param> /// <returns> /// <c>true</c> if the current object is equal to the other parameter; otherwise, <c>false</c>. /// </returns> public bool Equals(AttributeKey other) { return(other != null && FriendlyName.Equals(other.FriendlyName) && Name.Equals(other.Name) && NameFormat.Equals(other.NameFormat) && Namespace.Equals(other.Namespace) && OriginalIssuer.Equals(other.OriginalIssuer) && ValueType.Equals(other.ValueType)); }