EvaluatorGroupUpdateReferenceT Method |
Updates a reference in order to ensure that references to two or more equivalent evaluators
are reduced to a single instance.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public T UpdateReference<T>(
T evaluator
)
where T : class
Public Function UpdateReference(Of T As Class) (
evaluator As T
) As T
public:
generic<typename T>
where T : ref class
T UpdateReference(
T evaluator
)
member UpdateReference :
evaluator : 'T -> 'T when 'T : not struct
Parameters
- evaluator
- Type: T
The evaluator reference to update.
Type Parameters
- T
- The type of the evaluator.
Return Value
Type:
TA reference to an evaluator to use instead of the specified evaluator.
Remarks See Also