public static bool TryConvertFormData(Type type, string str_value, out object data) { var converter = new HtmlFormDataTypeConverter(type); data = converter.ConvertFrom(str_value); return(data != null); }
public static bool TryConvertFormData(Type type, string str_value, out object data) { var converter = new HtmlFormDataTypeConverter (type); data = converter.ConvertFrom (str_value); return data != null; }