Ejemplo n.º 1
0
 private SearchCriteria(IndexCondition searchCondition)
 {
     conditions.Add(searchCondition);
     indexCondition = searchCondition;
 }
Ejemplo n.º 2
0
 public virtual SearchCriteria AndIndex(int zeroBasedIndex)
 {
     indexCondition = new IndexCondition(zeroBasedIndex);
     conditions.Add(indexCondition);
     return this;
 }
Ejemplo n.º 3
0
 private SearchCriteria(IndexCondition searchCondition)
 {
     conditions.Add(searchCondition);
     indexCondition = searchCondition;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Create criteria with specified index
 /// </summary>
 /// <param name="zeroBasedIndex"></param>
 /// <returns></returns>
 public static SearchCriteria Indexed(int zeroBasedIndex)
 {
     var indexCondition = new IndexCondition(zeroBasedIndex);
     var criteria = new SearchCriteria(indexCondition);
     return criteria;
 }
Ejemplo n.º 5
0
 public virtual SearchCriteria AndIndex(int zeroBasedIndex)
 {
     indexCondition = new IndexCondition(zeroBasedIndex);
     conditions.Add(indexCondition);
     return(this);
 }