예제 #1
0
        public static bool TryParse(string s, System.Globalization.NumberStyles style, IFormatProvider provider, out EventInteger result)
        {
            int  i;
            bool retVal = int.TryParse(s, style, provider, out i);

            result = new EventInteger(i);
            return(retVal);
        }
예제 #2
0
 public static EventInteger Parse(string s, IFormatProvider provider)
 {
     return(EventInteger.Parse(s, System.Globalization.NumberStyles.Integer, provider));
 }
예제 #3
0
 public static EventInteger Parse(string s, System.Globalization.NumberStyles style)
 {
     return(EventInteger.Parse(s, style, System.Globalization.CultureInfo.CurrentCulture.NumberFormat));
 }
예제 #4
0
 public static bool TryParse(string s, out EventInteger result)
 {
     return(EventInteger.TryParse(s, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.CurrentCulture.NumberFormat, out result));
 }
예제 #5
0
 public static bool TryParse(string s,System.Globalization.NumberStyles style,IFormatProvider provider , out EventInteger result)
 {
     int i;
     bool retVal = int.TryParse(s, style, provider, out i);
     result = new EventInteger(i);
     return retVal;
 }
예제 #6
0
 public static bool TryParse(string s, out EventInteger result)
 { return EventInteger.TryParse(s, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.CurrentCulture.NumberFormat, out result); }