C# Class System.Yaml.Serialization.EasyTypeConverter

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

Méthodes publiques

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

Private Methods

Méthode Description
FindConverter ( Type type ) : TypeConverter
RegisterTypeConverterFor ( Type type ) : TypeConverter

Method Details

ConvertFromString() public méthode

public ConvertFromString ( string s, Type type ) : object
s string
type System.Type
Résultat object

ConvertToString() public méthode

public ConvertToString ( object obj ) : string
obj object
Résultat string

EasyTypeConverter() public méthode

public EasyTypeConverter ( ) : System.Collections.Generic
Résultat System.Collections.Generic

IsTypeConverterSpecified() public static méthode

public static IsTypeConverterSpecified ( Type type ) : bool
type System.Type
Résultat bool