Пример #1
0
 public OclBoolean equalsIgnoreCase(OclString s, OclString locale)
 {
     if (IsNull(s))
     {
         throw new ArgumentNullException();
     }
     return((OclBoolean)(String.Compare(value, s.value, true, OclUtils.GetLocale(locale)) == 0));
 }
Пример #2
0
 public OclBoolean op_GreaterThanOrEqual(OclString s, OclString locale)
 {
     if (IsNull(s))
     {
         throw new ArgumentNullException();
     }
     return((OclBoolean)(String.Compare(value, s.value, false, OclUtils.GetLocale(locale)) >= 0));
 }
Пример #3
0
 public OclString toLowerCase(OclString locale)
 {
     return(new OclString(value.ToLower(OclUtils.GetLocale(locale))));
 }