Click or drag to resize

EvaluatorHelperGetAvailabilityIntervals Method (TimeIntervalCollection, IAvailability)

Computes availability intervals as the intersection of the availability of each evaluator in an array. Any evaluators that are are ignored.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public static TimeIntervalCollection GetAvailabilityIntervals(
	TimeIntervalCollection consideredIntervals,
	params IAvailability[] evaluators
)

Parameters

consideredIntervals
Type: AGI.Foundation.TimeTimeIntervalCollection
The intervals over which availability information is needed. Returned availability intervals will be constrained to these intervals.
evaluators
Type: AGI.Foundation.TimeIAvailability
The array of evaluators.

Return Value

Type: TimeIntervalCollection
The intervals over which all evaluators are available.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when evaluators is .
See Also