예제 #1
0
 public StringFilter ToLower()
 {
     Equal         = Equal?.ToLower();
     NotEqual      = NotEqual?.ToLower();
     Contains      = Contains?.ToLower();
     NotContains   = NotContains?.ToLower();
     StartsWith    = StartsWith?.ToLower();
     NotStartsWith = NotStartsWith?.ToLower();
     EndsWith      = EndsWith?.ToLower();
     NotEndsWith   = NotEndsWith?.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);
 }