Exemplo n.º 1
0
 public List <object> SearchAllAttributesName(IBasicData currentBasicData, SearchOrderResult aSC)
 {
     NewSearch();
     searchAllAttributesName(currentBasicData);
     this.genericList.Sort();
     if (SearchFinished != null)
     {
         SearchFinished();
     }
     return(this.genericList);
 }
Exemplo n.º 2
0
 public void SearchAllAttributes(IBasicData basicData, SearchOrderResult searchOrderResult = SearchOrderResult.None)
 {
     NewSearch();
     this.searchAllAttributes(basicData);
     if (searchOrderResult == SearchOrderResult.DESC)
     {
         this.genericList.Sort();
     }
     if (searchOrderResult == SearchOrderResult.ASC)
     {
         this.genericList.Sort();
         this.genericList.Reverse();
     }
     if (GenericSearchResultEvent != null)
     {
         GenericSearchResultEvent(genericList);
     }
     if (SearchFinished != null)
     {
         SearchFinished();
     }
 }