SerializeExtendDeepCloneT Method
深度複製物件
Namespace: eBizprise.FrameworkAssembly: eBizprise.Framework.SerializeHelper (in eBizprise.Framework.SerializeHelper.dll) Version: 25.0.0.0+adf38c4ccb2bf98d8ad258a6278302b5e05a94ed
public static T DeepClone<T>(
this T sourceObject
)
- sourceObject T
- 來源物件
- T
- 來源物件類型
T複製物件In Visual Basic and C#, you can call this method as an instance method on any object of type
T. 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).
TestClass testClass = new TestClass() { DecimalColumn = (decimal)3.3, IntColumn = 2, StringColumn = "Data" };
string cloneTest = testClass.DeepClone();
| Date | Version | Description |
|---|
| 2025/08/06 | 2.2.1.0 | 加入深度複製功能 |
| 2025/09/19 | 25.0.0.0 | 彙整2025年度初版 |