Click or drag to resize

TimeIntervalCollectionTIntersect Method (TimeIntervalCollection)

Computes the intersection of this interval collection with another, returning data from this one.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 20.3.405.0 (20.3.405.0)
Syntax
public TimeIntervalCollection<T> Intersect(
	TimeIntervalCollection intervals
)

Parameters

intervals
Type: AGI.Foundation.TimeTimeIntervalCollection
The collection to intersect with this collection. The parameter can be null, in which case Intersect returns this instance.

Return Value

Type: TimeIntervalCollectionT
The intersection of this collection with another collection, with the data of the intervals corresponding to the data of the overlapping intervals from this collection.
See Also