C# Class Tp.Core.Extensions.Objects

Mostra file Open project: TargetProcess/Target-Process-Plugins

Public Methods

Method Description
CloneObject ( this original ) : object

Creates a shallow copy of specified object (ONLY PROPERTIES ARE SUPPORTED)

Only properties supported

CreateCloner ( Type type ) : object>.Func

Method Details

CloneObject() public static method

Creates a shallow copy of specified object (ONLY PROPERTIES ARE SUPPORTED)
Only properties supported
public static CloneObject ( this original ) : object
original this Specified object to clone
return object

CreateCloner() public static method

public static CreateCloner ( Type type ) : object>.Func
type System.Type
return object>.Func