No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

AWSSearchResult.cs

Description du code

AWSSearchResult.cs est un fichier du projet BiblioBrol.
Ce fichier est situé dans /var/www/bin/sniplets/bibliobrol/src/.

Projet BiblioBrol :

Gestion de media en CSharp.

Pour plus d'infos, vous pouvez consulter la brève analyse.

Code source ou contenu du fichier

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.ComponentModel;
  5.  
  6. namespace be.gaudry.bibliobrol.model.aws
  7. {
  8. public class AWSSearchResult<T>
  9. {
  10. #region declarations and constructors
  11. private BindingList<T> bindingList;
  12. private int pageNumber, pagesCount, total;
  13. private string keywords, searchIndice;
  14. public AWSSearchResult(string keywords, string searchIndice)
  15. {
  16. this.keywords = keywords;
  17. this.searchIndice = searchIndice;
  18. bindingList = new BindingList<T>();
  19. this.pageNumber = 1;
  20. }
  21. #endregion
  22.  
  23. #region properties
  24. public int Count
  25. {
  26. get { return bindingList.Count; }
  27. }
  28. public int Total
  29. {
  30. get { return total; }
  31. }
  32. public int PageNumber
  33. {
  34. get { return pageNumber; }
  35. }
  36. public string PageToSearchNumber
  37. {
  38. get { return pageNumber.ToString(); }
  39. }
  40. public int PagesCount
  41. {
  42. get { return pagesCount; }
  43. }
  44. public string Keywords
  45. {
  46. get { return keywords; }
  47. }
  48. public string SearchIndice
  49. {
  50. get { return searchIndice; }
  51. }
  52. #endregion
  53.  
  54. #region public methods
  55. /*public void addItems(BindingList<T> bindingList, int pageNumber)
  56.   {
  57.   foreach (T item in bindingList)
  58.   {
  59.   this.bindingList.Add(item);
  60.   }
  61.   this.pageNumber = pageNumber;
  62.   }*/
  63. #endregion
  64.  
  65. #region internal methods
  66. internal BindingList<T> getDataSource()
  67. {
  68. return this.bindingList;
  69. }
  70. internal void Add(T item)
  71. {
  72. bindingList.Add(item);
  73. }
  74. internal void setTotalResults(string totalResults)
  75. {
  76. int i;
  77. total = (Int32.TryParse(totalResults, out i)) ? i : 0;
  78. }
  79. internal void setTotalPages(string totalPages)
  80. {
  81. int i;
  82. pagesCount = (Int32.TryParse(totalPages, out i)) ? i : 0;
  83. }
  84.  
  85. #endregion
  86. }
  87. }

Structure et Fichiers du projet

Afficher/masquer...


Répertoires contenus dans /var/www/bin/sniplets/bibliobrol/src/model/aws/ 
IcôneNomTailleModification
Pas de sous-répertoires.
IcôneNomTailleModification
| _ Répertoire parent0 octets1719813484 01/07/2024 07:58:04
Fichiers contenus dans /var/www/bin/sniplets/bibliobrol/src/model/aws/ 
IcôneNomTailleModificationAction
IcôneNomTailleModificationAction
Afficher le fichier .cs|.csAWSSearchResult.cs2.26 Ko31/10/2018 18:32:53-refusé-
Afficher le fichier .cs|.csAWSSearchIndices.cs4.46 Ko31/10/2018 18:32:53-refusé-
Afficher le fichier .cs|.csAWSFilm.cs7.99 Ko31/10/2018 18:32:53-refusé-
Afficher le fichier .cs|.csAWSHelper.cs9.27 Ko31/10/2018 18:32:53-refusé-

Utilisation de l'explorateur de code

  • Navigation :
    • Un clic sur une icône de répertoire ouvre ce répertoire pour en afficher les fichiers.
    • Lorsque le répertoire en cours ne contient pas de sous-répertoires il est possible de remonter vers le répertoire parent.
    • La structure de répertoires en treetable (tableau en forme d'arborescence) n'est plus possibledans cette version.
    • Un clic sur une icône de fichier ouvre ce fichier pour en afficher le code avec la coloration syntaxique adaptée en fonction du langage principal utilisé dans le fichier.
  • Affichage :
    • Il est possible de trier les répertoires ou les fichiers selon certains critères (nom, taille, date).
  • Actions :
    • Les actions possible sur les fichiers dépendent de vos droits d'utilisateur sur le site. Veuillez activer le mode utilisateur pour activer les actions.

English translation

You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.

If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.

Thank you in advance.

Document created the 16/10/2009, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/cs-bibliobrol-source-rf-model/aws/AWSSearchResult.cs.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.