Class ObjectCopy
This class exposes cloning functionality for objects.
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
Methods
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