...
Code Block | ||
---|---|---|
| ||
public interface TypeConverter
{
boolean canConvertTo( Class type );
Object parse( String value, Class type );
String toString( Object value );
}
namespace LivingDoc.Converters
{
public interface ITypeConverter
{
bool CanConvertTo(Type type);
object ValueOf(string value, Type type);
string ToString(object value);
}
} |
provides out-of-the-box type converters for the following types
...