示例#1
0
 public XPAliasedMemberInfo(XPClassInfo owner, string propertyName, Type propertyType, string expression)
     : base(owner, true)
 {
     if (propertyName == null)
     {
         throw new ArgumentNullException("propertyName");
     }
     this.propertyName = propertyName;
     this.propertyType = propertyType;
     Owner.AddMember(this);
     this.AddAttribute(new PersistentAliasAttribute(expression));
 }