完成流程列表

This commit is contained in:
yubaolee
2016-09-07 16:58:08 +08:00
parent 0c82f7b8c3
commit c8dec703a7
22 changed files with 195 additions and 255 deletions

View File

@@ -25,6 +25,12 @@ namespace Infrastructure
{
public static class ObjectHelper
{
public static T CopyTo<T>(this object source) where T:class, new()
{
var result = new T();
source.CopyTo(result);
return result;
}
public static void CopyTo<T>(this object source, T target)
where T : class,new()