Table of Contents

Equals Method

Definition

Namespace
Tyne
Assembly
Tyne.Core.dll

Methods

| Edit this page View Source

Equals(Unit)

Determines whether the specified other is equal to the current instance of the same type.

Declaration
public bool Equals(Unit other)
Parameters
other
Unit

The other Unit to compare with this instance.

Returns
bool
Remarks

This always returns true.

| Edit this page View Source

Equals(object?)

Determines whether the specified obj is equal to the current instance.

Declaration
public override bool Equals(object? obj)
Parameters
obj
object

The object to compare with the current instance.

Returns
bool

true if the specified obj is a Unit; otherwise, false.

Overrides
Remarks

This is always true if obj is a Unit, and false otherwise.