/// <summary> /// Determines whether the specified <see cref="LinkingProfile"/> is /// equal to the current <see cref="LinkingProfile"/>. /// </summary> /// <param name="other"> /// The <see cref="LinkingProfile"/> to compare with the current /// <see cref="LinkingProfile"/>. /// </param> /// <returns> /// <c>true</c> if the specified <see cref="LinkingProfile"/> is equal /// to the current <see cref="LinkingProfile"/>; otherwise, /// <c>false</c>. /// </returns> public bool Equals(LinkingProfile other) { return(other != null && this.ProviderName == other.ProviderName && this.Id == other.Id && this.Name == other.Name); }
/// <summary> /// Determines whether the specified <see cref="LinkingProfile"/> is /// equal to the current <see cref="LinkingProfile"/>. /// </summary> /// <param name="other"> /// The <see cref="LinkingProfile"/> to compare with the current /// <see cref="LinkingProfile"/>. /// </param> /// <returns> /// <c>true</c> if the specified <see cref="LinkingProfile"/> is equal /// to the current <see cref="LinkingProfile"/>; otherwise, /// <c>false</c>. /// </returns> public bool Equals(LinkingProfile other) { return other != null && this.ProviderName == other.ProviderName && this.Id == other.Id && this.Name == other.Name; }