public void IntegrateWithPagingEx(PagingIntegrationMetadata metadata)
 {
     Status = metadata.Status;
     if (metadata.Move != PagingNavigationMove.Reset) return;
     TotalRows = metadata.TotalRows;
     CurrentPage = 1;
     UpdateNavigationUi();
 }
 private PagingIntegrationMetadata GetPagingMetadata()
 {
     var result = new PagingIntegrationMetadata
     {
         Status = Status,
         CurrentPage = CurrentPage,
         ItemsPerPage = RowsPerPage,
         Move = CurrentMove
     };
     return result;
 }
 public void ProcessFromPagingEx(PagingIntegrationMetadata metadata)
 {
     if (metadata.Move == PagingNavigationMove.Reset)
     {
         ItemsPerPage = metadata.ItemsPerPage;
     }
     CurrentPagingIntegrationMetadata = metadata;
     CurrentPageInformation = PagingNavigationSetting.GetPageInformation(metadata.Move);
 }