Пример #1
0
 public StringFilter ToLower()
 {
     Equal        = Equal?.ToLower();
     NotEqual     = NotEqual?.ToLower();
     Contain      = Contain?.ToLower();
     NotContain   = NotContain?.ToLower();
     StartWith    = StartWith?.ToLower();
     NotStartWith = NotStartWith?.ToLower();
     EndWith      = EndWith?.ToLower();
     NotEndWith   = NotEndWith?.ToLower();
     return(this);
 }
Пример #2
0
 public StringFilter ToLower()
 {
     if (Equal != null)
     {
         Equal = Equal.ToLower();
     }
     if (NotEqual != null)
     {
         NotEqual = NotEqual.ToLower();
     }
     if (Contains != null)
     {
         Contains = Contains.ToLower();
     }
     if (NotContains != null)
     {
         NotContains = NotContains.ToLower();
     }
     if (StartsWith != null)
     {
         StartsWith = StartsWith.ToLower();
     }
     if (NotStartsWith != null)
     {
         NotStartsWith = NotStartsWith.ToLower();
     }
     if (EndsWith != null)
     {
         EndsWith = EndsWith.ToLower();
     }
     if (NotEndsWith != null)
     {
         NotEndsWith = NotEndsWith.ToLower();
     }
     return(this);
 }