Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }