ActionEngineUtilCopyFieldsT Method

Copy the private fields of public properties from the source to target.

Definition

Namespace: ActionEngine
Assembly: ActionEngine (in ActionEngine.dll) Version: 26.2117.4453
C#
public static void CopyFields<T>(
	T source,
	T target,
	string[] skipList = null,
	string[] nonBlanks = null
)
where T : class

Parameters

source  T
Reference to the source object.
target  T
Reference to the target object.
skipList  String  (Optional)
Optional list of field names to skip.
nonBlanks  String  (Optional)
Optional list of field names to write if non-blank.

Type Parameters

T
Type of object to operate upon.

See Also