Class CopyTool
Inherited Members
Namespace: PayrollEngine
Assembly: PayrollEngine.Core.dll
Syntax
public static class CopyTool
Methods
CopyObjectProperties(object, object, IEnumerable<Type>)
Declaration
public static void CopyObjectProperties(object source, object target, IEnumerable<Type> ignoreAttributes = null)
Parameters
| Type | Name | Description |
|---|---|---|
| object | source | |
| object | target | |
| IEnumerable<Type> | ignoreAttributes |
CopyProperties<T>(T, T, IEnumerable<Type>)
Declaration
public static void CopyProperties<T>(T source, T target, IEnumerable<Type> ignoreAttributes = null) where T : class
Parameters
| Type | Name | Description |
|---|---|---|
| T | source | |
| T | target | |
| IEnumerable<Type> | ignoreAttributes |
Type Parameters
| Name | Description |
|---|---|
| T |