Click or drag to resize

CopyForAnotherThread.UpdateReference<T> 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: 25.1.421.0 (25.1.421.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 UpdateReference<T> (T) for more information), this method clones any objects that implement IThreadAware and report false for IsThreadSafe.
See Also