EvaluatorHelper.GetAvailabilityIntervals Method (TimeIntervalCollection,IAvailability[]) |
Computes availability intervals as the intersection of the availability of each evaluator in an array.
Any evaluators that are null are ignored.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static TimeIntervalCollection GetAvailabilityIntervals(
TimeIntervalCollection consideredIntervals,
params IAvailability[] evaluators
)
Public Shared Function GetAvailabilityIntervals (
consideredIntervals As TimeIntervalCollection,
ParamArray evaluators As IAvailability()
) As TimeIntervalCollection
public:
static TimeIntervalCollection^ GetAvailabilityIntervals(
TimeIntervalCollection^ consideredIntervals,
... array<IAvailability^>^ evaluators
)
static member GetAvailabilityIntervals :
consideredIntervals : TimeIntervalCollection *
evaluators : IAvailability[] -> TimeIntervalCollection
Parameters
- consideredIntervals
- Type: AGI.Foundation.Time.TimeIntervalCollection
The intervals over which availability information is needed. Returned availability
intervals will be constrained to these intervals.
- evaluators
- Type:AGI.Foundation.Time.IAvailability[]
The array of evaluators.
Return Value
Type:
TimeIntervalCollectionThe intervals over which all evaluators are available.
Exceptions
See Also