TimeIntervalTEquals Method (TimeIntervalT, 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.3.420.0 (24.3.420.0)
Syntax public bool Equals(
TimeInterval<T> other,
IEqualityComparer<T> dataComparer
)
Public Function Equals (
other As TimeInterval(Of T),
dataComparer As IEqualityComparer(Of T)
) As Boolean
public:
bool Equals(
TimeInterval<T>^ other,
IEqualityComparer<T>^ dataComparer
)
member Equals :
other : TimeInterval<'T> *
dataComparer : IEqualityComparer<'T> -> bool
Parameters
- other
- Type: AGI.Foundation.TimeTimeIntervalT
The instance to compare to this instance.
- dataComparer
- Type: System.Collections.GenericIEqualityComparerT
The object to use to compare the Data properties of the two intervals.
Return Value
Type:
Boolean if
other represents the same value as this instance; otherwise
.
See Also