Esempio n. 1
0
		static FilterSettings StripSearchTerm(FilterSettings filterSettings)
		{
			if (filterSettings == null)
				return null;
			if (!string.IsNullOrEmpty(filterSettings.SearchTerm))
			{
				filterSettings = filterSettings.Clone();
				filterSettings.SearchTerm = null;
			}
			return filterSettings;
		}
Esempio n. 2
0
 FilterSettings StripSearchTerm(FilterSettings filterSettings)
 {
     if (filterSettings == null)
     {
         return(null);
     }
     if (!string.IsNullOrEmpty(filterSettings.SearchTerm))
     {
         filterSettings            = filterSettings.Clone();
         filterSettings.SearchTerm = null;
     }
     return(filterSettings);
 }
Esempio n. 3
0
 FilterSettings StripSearchTerm(FilterSettings filterSettings)
 {
     if (filterSettings == null)
         return null;
     if (!string.IsNullOrEmpty(filterSettings.SearchTerm)) {
         filterSettings = filterSettings.Clone();
         filterSettings.SearchTerm = null;
     }
     return filterSettings;
 }