Click or drag to resize

StationEquals Method

Returns true if obj is a Station object with equal fields to this.

Namespace: DegreeDays.Api.Data
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public override bool Equals(
	Object obj
)

Parameters

obj  Object
The object to compare with this instance.

Return Value

Boolean
true if obj is equal to this instance; false otherwise.
Remarks

Note that, under certain circumstances, you might just want to compare station IDs for equality (like station1.Id.Equals(station2.Id)). It's possible for fields like the display name to change over time, but the ID of a station should remain constant.

See Also