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