Esempio n. 1
0
        public static ExcelObjectAttribute GetAttribute(Type t)
        {
            object[]             o = t.GetCustomAttributes(typeof(ExcelObjectAttribute), false);
            ExcelObjectAttribute r = (ExcelObjectAttribute)o[0];

            return(r);
        }
Esempio n. 2
0
 public CacheType(Type t)
 {
     ItemType = t;
     _attr    = CU.GetAttribute(ItemType);
 }