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

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