Esempio n. 1
0
 public PaginatorBuilder(
     int itemsPerPage,
     int pageButtonsCount,
     string command
     )
 {
     messageBuilder        = PaginatorMessageBuilders.DefaultListBuilder;
     this.pageButtonsCount = pageButtonsCount;
     this.command          = command;
     this.itemsPerPage     = itemsPerPage;
 }
Esempio n. 2
0
 public PaginatorBuilder <T> MessageBuilder(PaginatorMessageBuilder <T> messageBuilder)
 {
     this.messageBuilder = messageBuilder;
     return(this);
 }