/// <summary>
    /// Creates a PagedRearchResult.
    /// </summary>
    /// <param name="result"></param>
    /// <param name="factoryDelegate">A pointer to a function that wraps the specified object in a wrapper used for binding.</param>
    public PagedSearchResult(SearchResult result, WrapperFactoryDelegate factoryDelegate)
      : base(result.TotalCount, result.Count)
    {
      _result = result;
      _factoryDelegate = factoryDelegate;

      WrapItems();
    }
 public PagedSearchResult(SearchResult result)
   : base(result.TotalCount, result.Count)
 {
   _result = result;
 }
 /// <summary>
 /// Called when a page change completes.
 /// </summary>
 private void Complete(SearchResult result)
 {
   _result = result;
   WrapItems();
   CompletePageChange();
 }