| ExtensionsCloningDeepCloneT Method |
Note: This API is now obsolete.
Namespace:
Cauldron.Activator
Assembly:
Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.2
Syntax [ObsoleteAttribute("Use Mapster instead")]
public static T DeepClone<T>(
this T source
)
where T : class
Parameters
- source
- Type: T
The source object
Type Parameters
- T
- The type of the source
Return Value
Type:
TReturns the clone of
sourceUsage Note
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).
Exceptions See Also