//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)); }
private static string Operation <T>(T operation, string action) { var myval = ObjClassFactory.GetOperationClassObj <T>(); //new CommonOperation<T>(); return(myval.Operation(operation, action)); }