Class ObjectCopy

This class exposes cloning functionality for objects.

Inheritance
ObjectCopy
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
    public class ObjectCopy

Methods

TryCreateShallowCopyOfPublicProps<T>(T)

Declaration
    public static T TryCreateShallowCopyOfPublicProps<T>(T source) where T : class
Parameters
TypeNameDescription
Tsource
Returns
TypeDescription
T
Type Parameters
NameDescription
T

TryCreateShallowCopyOfPublicProps<TIn, TOut>(TIn)

Declaration
    public static TOut TryCreateShallowCopyOfPublicProps<TIn, TOut>(TIn source) where TOut : class
Parameters
TypeNameDescription
TInsource
Returns
TypeDescription
TOut
Type Parameters
NameDescription
TIn
TOut