Class ObjectCopy
This class exposes cloning functionality for objects.
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax#
public static class ObjectCopy
Methods
Clone<T>(T)#
Declaration
public static T Clone<T>(T row)
Parameters
Returns
Type Parameters
TryCreateShallowCopyOfPublicProps<T>(T)#
Declaration
public static T TryCreateShallowCopyOfPublicProps<T>(T source) where T : class
Parameters
| Type | Name | Description |
|---|
| T | source | |
Returns
Type Parameters
TryCreateShallowCopyOfPublicProps<TIn, TOut>(TIn)#
Declaration
public static TOut TryCreateShallowCopyOfPublicProps<TIn, TOut>(TIn source) where TOut : class
Parameters
| Type | Name | Description |
|---|
| TIn | source | |
Returns
Type Parameters