Click or drag to resize

CopyForAnotherThreadUpdateReferenceT Method

Updates a given reference, returning a reference to use in its place.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public override T UpdateReference<T>(
	T oldObject
)
where T : class

Parameters

oldObject
Type: T
The old reference to update.

Type Parameters

T
The type of the object reference.

Return Value

Type: T
The updated reference.
Remarks
In addition to the base class behavior of updating mappings (see UpdateReferenceT(T) for more information), this method clones any objects that implement IThreadAware and report false for IsThreadSafe.
See Also