Exemplo n.º 1
0
 /// <summary>
 /// 拷贝数据
 /// </summary>
 /// <param name="source">源类</param>
 /// <param name="target">目标类</param>
 public static void CopyTo(object source, object target)
 {
     FieldCloneHelper.CopyTo(source, target);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 克隆
 /// </summary>
 /// <param name="source"></param>
 /// <returns></returns>
 public static object Clone(object source)
 {
     return(FieldCloneHelper.Clone(source));
 }