Summer.Batch.Common.Util.CopyUtils Class Reference
Copy Helper. More...
Static Public Member Functions | |
static void | CopyProperties (object destination, object origin) |
Copy properties from an origin object to a destination object. A property is copied if : More... | |
Detailed Description
Copy Helper.
Member Function Documentation
|
static |
Copy properties from an origin object to a destination object. A property is copied if :
- the property names are the same in both destination and origin object. A property is skipped if :
- a property exists in the origin object but do not exist in the destination object.
- a property is not readable in the origin object.
- a property is not writable in the destination object.
- the destination property type is not assignable from the origin property type.
- Parameters
-
destination origin
- Exceptions
-
ArgumentNullException
The documentation for this class was generated from the following file:
- Summer.Batch.Common/Util/CopyUtils.cs