Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SearchPage"/> class.
 /// </summary>
 /// <param name="searchQuery">Query text/keywords.</param>
 /// <param name="searchFields">Bitwise mask of fields where to search.</param>
 /// <param name="pageLength">Length of the contacts page.</param>
 /// <param name="pageReady">Callback to trigger if request succeeds.</param>
 /// <param name="pageFailed">Callback to trigger if request fails.</param>
 public SearchPage(string searchQuery, SearchField searchFields, uint pageLength, ListPage.OnPageReadyDelegate pageReady = null, ListPage.OnPageFailedDelegate pageFailed = null)
     : base(pageLength, pageReady, pageFailed)
 {
     this.searchQuery  = searchQuery;
     this.searchFields = searchFields;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SelectionPage"/> class.
 /// </summary>
 /// <param name="selectionFields">Bitwise mask of fields to be fetched for contacts.</param>
 /// <param name="pageLength">Length of the contacts page.</param>
 /// <param name="pageReady">Callback to trigger if request succeeds.</param>
 /// <param name="pageFailed">Callback to trigger if request fails.</param>
 public SelectionPage(SelectionField selectionFields, uint pageLength, ListPage.OnPageReadyDelegate pageReady = null, ListPage.OnPageFailedDelegate pageFailed = null)
     : base(pageLength, pageReady, pageFailed)
 {
     this.selectionFields = selectionFields;
 }