Click or drag to resize

CopyContextAddObjectMappingT Method

Adds a mapping between an old object reference and a new one. The default implementation of UpdateReferenceT(T) will substitute newObject everywhere it encounters oldObject.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public void AddObjectMapping<T>(
	T oldObject,
	T newObject
)
where T : class

Parameters

oldObject
Type: T
The old object reference.
newObject
Type: T
The new object reference.

Type Parameters

T
The type of object to map.
See Also