版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u011511086/article/details/80760884
using System.Runtime.CompilerServices;
[MethodImpl(MethodImplOptions.Synchronized)]
public static TResult MapTo<TResult>(this object source){
//操作
}
using System.Runtime.CompilerServices;
[MethodImpl(MethodImplOptions.Synchronized)]
public static TResult MapTo<TResult>(this object source){
//操作
}