Unit.Equals(Unit) method¶
Defined in
Type: Unit
Namespace: System.Reactive
Assembly: System.Reactive.dll
Applies to
netstandard2.0
Overloads¶
- 1.
public bool Equals(Unit other) - 2.
public override bool Equals(object? obj)
1. Overload¶
public bool Equals(Unit other)
Summary:
Determines whether the specified Unit value is equal to the current Unit. Because Unit has a single value, this always returns true.
Parameters
| Name | Type | Description |
|---|---|---|
other | [Unit](# | An object to compare to the current [Unit](# value. |
Returns: bool -- Because Unit has a single value, this always returns true.
2. Overload¶
public override bool Equals(object? obj)
Summary: Determines whether the specified System.Object is equal to the current Unit.
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | The System.Object to compare with the current [Unit](# |
Returns: bool -- true if the specified System.Object is a Unit value; otherwise, false.