Click or drag to resize

TimeIntervalCollectionTEquals Method (TimeIntervalCollectionT, IEqualityComparerT)

Indicates whether another instance of this type is exactly equal to this instance.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public bool Equals(
	TimeIntervalCollection<T> other,
	IEqualityComparer<T> dataComparer
)

Parameters

other
Type: AGI.Foundation.TimeTimeIntervalCollectionT
The instance to compare to this instance.
dataComparer
Type: System.Collections.GenericIEqualityComparerT
The object to use to compare the Data properties of intervals.

Return Value

Type: Boolean
if other represents the same value as this instance; otherwise .
Remarks
In order for two collections to be considered equal, each TimeInterval in one collection must be equal to the TimeInterval at the same index in the other collection.
See Also