예제 #1
0
        //ICommonList<T>   _ICommentList;
        //public CommonListExecute()
        //{
        //    _ICommentList = ListClassFactory.GetListClassObj<T>();
        //}
        public static List <T> AllPositionList <T>(object parameter)
        {
            // return   _ICommentList.MyGeneralList(parameter);
            var mylist = ObjClassFactory.GetListClassObj <T>(); // new CommonList<T>();  //  Factory.GetClass<CommonList<T>>(); //

            return(mylist.MyGeneralList(parameter));
        }
예제 #2
0
        private static string Operation <T>(T operation, string action)
        {
            var myval = ObjClassFactory.GetOperationClassObj <T>();  //new CommonOperation<T>();

            return(myval.Operation(operation, action));
        }