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
Public Overrides Function UpdateReference(Of T As Class) (
oldObject As T
) As T
public:
generic<typename T>
where T : ref class
virtual T UpdateReference(
T oldObject
) override
abstract UpdateReference :
oldObject : 'T -> 'T when 'T : not struct
override UpdateReference :
oldObject : 'T -> 'T when 'T : not struct
Parameters
- oldObject
- Type: T
The old reference to update.
Type Parameters
- T
- The type of the object reference.
Return Value
Type:
TThe updated reference.
Remarks See Also