public static ExcelObjectAttribute GetAttribute(Type t) { object[] o = t.GetCustomAttributes(typeof(ExcelObjectAttribute), false); ExcelObjectAttribute r = (ExcelObjectAttribute)o[0]; return(r); }
public CacheType(Type t) { ItemType = t; _attr = CU.GetAttribute(ItemType); }