Esempio n. 1
0
        public static ExcelObjectPropertyAttribute GetAttribute(PropertyInfo pi)
        {
            object[] o = pi.GetCustomAttributes(typeof(ExcelObjectPropertyAttribute), false);
            ExcelObjectPropertyAttribute r = (ExcelObjectPropertyAttribute)o[0];

            return(r);
        }
Esempio n. 2
0
 public CacheItemProperty(PropertyInfo pi)
 {
     _pi   = pi;
     _attr = CU.GetAttribute(_pi);
 }