C# Class System.Yaml.Serialization.EasyTypeConverter

Converts various types to / from string.
I don't remember why this class was needed....
Mostra file Open project: jbruening/YamlSerializer-Fork Class Usage Examples

Public Methods

Method Description
ConvertFromString ( string s, Type type ) : object
ConvertToString ( object obj ) : string
EasyTypeConverter ( ) : System.Collections.Generic
IsTypeConverterSpecified ( Type type ) : bool

Private Methods

Method Description
FindConverter ( Type type ) : TypeConverter
RegisterTypeConverterFor ( Type type ) : TypeConverter

Method Details

ConvertFromString() public method

public ConvertFromString ( string s, Type type ) : object
s string
type System.Type
return object

ConvertToString() public method

public ConvertToString ( object obj ) : string
obj object
return string

EasyTypeConverter() public method

public EasyTypeConverter ( ) : System.Collections.Generic
return System.Collections.Generic

IsTypeConverterSpecified() public static method

public static IsTypeConverterSpecified ( Type type ) : bool
type System.Type
return bool