Exemple #1
0
        public static T TryParse <T>(this string stringValue)
        {
            T result = default(T);

            return(GenericParser.TryParse <T>(stringValue, out result) ? result : default(T));
        }
Exemple #2
0
 public static T Parse <T>(this string stringValue)
 {
     return(GenericParser.Parse <T>(stringValue));
 }