public static XpandCustomMemberInfo CreateCustomMember(this XPClassInfo classInfo, string propertyName, Type propertyType, bool nonPersistent, params Attribute[] attributes) { var xpandCustomMemberInfo = new XpandCustomMemberInfo(classInfo, propertyName, propertyType, null, nonPersistent, false); foreach (Attribute attribute in attributes) { xpandCustomMemberInfo.AddAttribute(attribute); } return(xpandCustomMemberInfo); }
public void AddAttribute(Attribute attribute) { _xpandCustomMemberInfo.AddAttribute(attribute); }