-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Mapping_Map_DeepCopy__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
3 revisions
Performs deep copy.
Namespace: CodeJam.Mapping
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0
C#
public static T DeepCopy<T>(
this T obj
)
VB
<ExtensionAttribute>
Public Shared Function DeepCopy(Of T) (
obj As T
) As T
F#
[<ExtensionAttribute>]
static member DeepCopy :
obj : 'T -> 'T
- obj
- Type: T
An object to copy.
- T
- Type of object.
Type: T
Created object.
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).