,System.Reactive.Notification{-0})}
Notification.op_Equality(Notification, Notification) operator¶
Defined in
Type: NotificationSystem.Reactive
Assembly: System.Reactive.dll
Applies to
netstandard2.0
public static bool operator ==(Notification<T> left, Notification<T> right)
Summary: Determines whether the two specified Notification objects have the same observer message payload.
Parameters
| Name | Type | Description |
|---|---|---|
left | [Notification | The first [Notification](# to compare, or null. |
right | [Notification | The second [Notification](# to compare, or null. |
Returns: bool -- true if the first Notification value has the same observer message payload as the second Notification value; otherwise, false.
Remarks
Equality of Notification objects is based on the equality of the observer message payload they represent, including the notification Kind and the Value or Exception (if any). This means two Notification objects can be equal even though they don't represent the same observer method call, but have the same Kind and have equal parameters passed to the observer method. In case one wants to determine whether two Notification objects represent the same observer method call, use Object.ReferenceEquals identity equality instead.