Click or drag to resize

EvaluatorHelperUpdateCollectionReferencesT Method

Updates the references in the collection using the specified CopyContext. UpdateReferenceT(T) is called for each element in the collection and the result is assigned back to the same location in the collection.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static void UpdateCollectionReferences<T>(
	IList<T> collection,
	CopyContext context
)
where T : class

Parameters

collection
Type: System.Collections.GenericIListT
The collection.
context
Type: AGI.Foundation.InfrastructureCopyContext
The context to use to update the references.

Type Parameters

T
The type of element in the collection.
See Also