Spark.Equals(Spark) method¶
Defined in
Type: SparkReactiveUI.Primitives.Reactive.Core
Assembly: ReactiveUI.Primitives.Reactive.dll
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481
Overloads¶
- 1.
public bool Equals(Spark<T> other) - 2.
public override bool Equals(object obj)
1. Overload¶
public bool Equals(Spark<T> other)
Summary: Determines whether the current Spark
Parameters
| Name | Type | Description |
|---|---|---|
other | [Spark | An object to compare to the current Spark |
Returns: bool -- true if both Spark
Remarks
Equality of Spark<T> objects is based on the equality of the observer message payload they represent,
including the Spark Kind and the Value or Exception (if any).
2. Overload¶
public override bool Equals(object obj)
Parameters
| Name | Type | Description |
|---|---|---|
obj | object | -- |
Returns: bool