DME Component Libraries for .NET 2024 r1

## TimeIntervalTIntersect Method (TimeIntervalT, IEqualityComparerT) |

Computes an interval which is the intersection of this interval with another.

Syntax

public TimeInterval<T> Intersect( TimeInterval<T> other, IEqualityComparer<T> dataComparer )

- other
- Type: AGI.Foundation.TimeTimeIntervalT

The interval to intersect with this interval. - dataComparer
- Type: System.Collections.GenericIEqualityComparerT

The object to use to compare the Data properties of the two intervals.

The intersection of the two intervals.

Remarks

dataComparer is used to compare the Data properties of this interval
and the other interval. If the comparer reports that the Data properties are not
equal, the intersection is an empty interval. If the comparer reports that the Data properties
are equal, the new interval representing the intersection will have the same value for its Data
property as the interval on which this method is called.

See Also