Exemple #1
0
 public static ISearchCriteria SearchType(this ISearchCriteria criteria, SearchType searchType)
 {
     return(criteria.Component("SearchType", searchType));
 }
 public static ISearchCriteria City(this ISearchCriteria criteria, string city)
 {
     return(criteria.Component("City", city.SafeTrim()));
 }
Exemple #3
0
 public static SearchType SearchType(this ISearchCriteria criteria)
 {
     return(criteria.Component <SearchType>("SearchType"));
 }
 public static ISearchCriteria Zip(this ISearchCriteria criteria, string zip)
 {
     return(criteria.Component("Zip", zip.SafeTrim()));
 }
 public static string Zip(this ISearchCriteria criteria)
 {
     return(criteria.Component <string>("Zip"));
 }
 public static string StateCode(this ISearchCriteria criteria)
 {
     return(criteria.Component <string>("StateCode"));
 }
 public static ISearchCriteria StateCode(this ISearchCriteria criteria, string state)
 {
     return(criteria.Component("StateCode", state.SafeTrim()));
 }
 public static string CountryCode(this ISearchCriteria criteria)
 {
     return(criteria.Component <string>("CountryCode"));
 }
 public static ISearchCriteria CountryCode(this ISearchCriteria criteria, string country)
 {
     return(criteria.Component("CountryCode", country.SafeTrim()));
 }
 public static string City(this ISearchCriteria criteria)
 {
     return(criteria.Component <string>("City"));
 }