Click or drag to resize

TimeIntervalCollection<T>.Equals Method (TimeIntervalCollection<T>, IEqualityComparer<T>)

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: 25.1.421.0 (25.1.421.0)
Syntax
public bool Equals(
	TimeIntervalCollection<T> other,
	IEqualityComparer<T> dataComparer
)

Parameters

other
Type: AGI.Foundation.Time.TimeIntervalCollection<T>
The instance to compare to this instance.
dataComparer
Type: System.Collections.Generic.IEqualityComparer<T>
The object to use to compare the Data properties of intervals.

Return Value

Type: Boolean
true if other represents the same value as this instance; otherwise false.
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