예제 #1
0
 public StringFilter ToUpper()
 {
     Equal         = Equal?.ToUpper();
     NotEqual      = NotEqual?.ToUpper();
     Contains      = Contains?.ToUpper();
     NotContains   = NotContains?.ToUpper();
     StartsWith    = StartsWith?.ToUpper();
     NotStartsWith = NotStartsWith?.ToUpper();
     EndsWith      = EndsWith?.ToUpper();
     NotEndsWith   = NotEndsWith?.ToUpper();
     return(this);
 }
예제 #2
0
 public StringFilter ToUpper()
 {
     if (Equal != null)
     {
         Equal = Equal.ToUpper();
     }
     if (NotEqual != null)
     {
         NotEqual = NotEqual.ToUpper();
     }
     if (Contains != null)
     {
         Contains = Contains.ToUpper();
     }
     if (NotContains != null)
     {
         NotContains = NotContains.ToUpper();
     }
     if (StartsWith != null)
     {
         StartsWith = StartsWith.ToUpper();
     }
     if (NotStartsWith != null)
     {
         NotStartsWith = NotStartsWith.ToUpper();
     }
     if (EndsWith != null)
     {
         EndsWith = EndsWith.ToUpper();
     }
     if (NotEndsWith != null)
     {
         NotEndsWith = NotEndsWith.ToUpper();
     }
     return(this);
 }