This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//++ 合并两个pb结构++// | |
public static void mergeFromPb(object oldObj, object newObj, List<string> ignore_list = null){ | |
if(oldObj.Equals(newObj)) | |
return; | |
Type oldType = oldObj.GetType(); | |
Type newType = newObj.GetType(); | |
// if(oldType.Equals(newType) == false){ | |
// return; | |
// } | |
PropertyInfo[] newInfos = newType.GetProperties(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
王 | |
江 | |
周 | |
胡 | |
刘 | |
李 | |
吴 | |
毛 | |
温 | |
习 |