摘要: using System;using System.Collections.Generic;using System.Linq;using System.Reflection;using System.Text;namespace U1City.Infrastructure{ public class EntityExtension { public static T EntityToEntityByField(object obj, T newObj) where T : class,new() { if (newObj == n... 阅读全文
posted @ 2013-12-04 18:38 bert.zeng 阅读(151) 评论(0) 推荐(0)
摘要: postSharp,INotifyPropertyChanged的AOP植入using System;using System.Collections.Generic;using System.ComponentModel;using System.Linq;using System.Text;using PostSharp.Aspects;using PostSharp.Aspects.Advices;using PostSharp.Extensibility;namespace U1City.Infrastructure.MVP{ [Serializable] [Introdu... 阅读全文
posted @ 2013-12-04 18:33 bert.zeng 阅读(232) 评论(0) 推荐(0)