Table of Contents

Method Equals

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

Equals(Timestamped<T>)

Returns a value indicating whether this instance has the same value and timestamp as a specified Timestamped<T> structure.

public bool Equals(Timestamped<T> other)

Parameters

other Timestamped<T>

The Timestamped<T> structure to compare to this instance.

Returns

bool

true if other has the same value and timestamp as this instance; otherwise, false.

Equals(object)

Tests to see whether the specified object is an Timestamped<T> structure with the same value and timestamp as this Timestamped<T> structure.

public override bool Equals(object obj)

Parameters

obj object

The object to test.

Returns

bool

true if obj is an Timestamped<T> and has the same value and timestamp as this Timestamped<T>; otherwise, false.