CopyContextGetObjectMappingT Method |
Gets the mapping for the specified object.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public T GetObjectMapping<T>(
T oldObject
)
where T : class
Public Function GetObjectMapping(Of T As Class) (
oldObject As T
) As T
public:
generic<typename T>
where T : ref class
T GetObjectMapping(
T oldObject
)
member GetObjectMapping :
oldObject : 'T -> 'T when 'T : not struct
Parameters
- oldObject
- Type: T
The old object reference for which to look for a mapping.
Type Parameters
- T
- The type of object to map.
Return Value
Type:
T
The object that the specified object is mapped to, or null if the specified object is not mapped.
See Also