Click or drag to resize

LinkHelperGetLinkDelayEvaluatorByRole Method (IServiceProvider, EvaluatorGroup, LinkRole)

Gets a link delay evaluator for a given link and role.

Namespace:  AGI.Foundation.Access
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static LinkDelayEvaluator GetLinkDelayEvaluatorByRole(
	IServiceProvider link,
	EvaluatorGroup group,
	LinkRole role
)

Parameters

link
Type: SystemIServiceProvider
The link.
group
Type: AGI.FoundationEvaluatorGroup
The group with which to associate the new evaluator. By grouping evaluators that are often evaluated at the same Julian dates, common computations can be performed only once for the entire group instead of multiple times for each evaluator.
role
Type: AGI.Foundation.AccessLinkRole
The role for which to obtain a link delay evaluator.

Return Value

Type: LinkDelayEvaluator
The link delay evaluator.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when link or group is .
ArgumentException Thrown when role is not Transmitter or Receiver.
ServiceNotAvailableException Thrown when link does not provide ILinkService.
See Also