Пример #1
0
 public Pagination(int listCount, string exitMessage, int itemsPerPage = 10, PaginateAction action = null, bool hideCursor = true)
 {
     ListCount    = listCount;
     ItemsPerPage = itemsPerPage;
     Action       = action;
     ExitMessage  = exitMessage;
     HideCursor   = hideCursor;
 }
Пример #2
0
 public Listing(IList <TList> list, PaginateAction action, string exitMessage, int itemsPerPage = 10, bool hideCursor = true)
     : base(list.Count, exitMessage, itemsPerPage, action, hideCursor)
 {
     List = list;
 }
Пример #3
0
 public Listing(IList <TList> list, PaginateAction action, int itemsPerPage = 10)
     : base(list.Count, action, itemsPerPage)
 {
     List = list;
 }
Пример #4
0
 public SelectionList(IList <TList> list, PaginateAction action, string exitMessage, int itemsPerPage = 10, bool hideCursor = true)
     : base(list, action, exitMessage, itemsPerPage, hideCursor)
 {
     PaginationInit();
 }
Пример #5
0
 public SelectionList(IList <TList> list, PaginateAction action, int itemsPerPage = 10)
     : base(list, action, itemsPerPage)
 {
     PaginationInit();
 }
Пример #6
0
 } public Pagination(int listCount, PaginateAction action = null, int itemsPerPage = 10)
 {
     ListCount = listCount; ItemsPerPage = itemsPerPage; Action = action;
 }