mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-18 09:44:28 +08:00
完成流程列表
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user