예제 #1
0
        public static ExcelObjectMethodAttribute GetAttribute(MethodInfo mi)
        {
            object[] o = mi.GetCustomAttributes(typeof(ExcelObjectMethodAttribute), false);
            ExcelObjectMethodAttribute r = (ExcelObjectMethodAttribute)o[0];

            return(r);
        }
예제 #2
0
 public CacheItemMethod(MethodInfo mi)
 {
     _mi   = mi;
     _attr = CU.GetAttribute(_mi);
 }