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
Public Shared Sub UpdateCollectionReferences(Of T As Class) (
collection As IList(Of T),
context As CopyContext
)
public:
generic<typename T>
where T : ref class
static void UpdateCollectionReferences(
IList<T>^ collection,
CopyContext^ context
)
static member UpdateCollectionReferences :
collection : IList<'T> *
context : CopyContext -> unit when 'T : not struct
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