public static string ParseAndFormat <T>(object obj, Nparams param) { var value = ObjectParserFactory <T, object> .Parse(obj, default(T), param); return(value != null ? FormatterEx.ObjectFormatterDelegateFactory <T, object> .Format(value, param) : string.Empty); }
public static bool Validate <T>(object value, Nparams param) { return(ObjectParserFactory <T, T> .Validate(value, param)); }
public static object Parse <T>(object value, object defaultValue, Nparams param) { return(ObjectParserFactory <T, T> .Parse2(value, defaultValue, param)); }
public static bool TryParse <T, TResult>(object value, Nparams param, out TResult validValue) { return(ObjectParserFactory <T, TResult> .TryParse(value, param, out validValue)); }
public static TResult Parse <T, TResult>(object value, TResult defaultValue, Nparams param) { return(ObjectParserFactory <T, TResult> .Parse(value, defaultValue, param)); }