C# Class Banking.AU.Common.Converters.EnumConverter

Uses FileRepresentation attribute on enum values to encode/decode. If not present it uses the enum value.ToString().
Inheritance: FileHelpers.ConverterBase
Afficher le fichier Open project: stuarta0/banking-au Class Usage Examples

Méthodes publiques

Méthode Description
EnumConverter ( Type enumType ) : System
FieldToString ( object from ) : string
StringToField ( string from ) : object

Method Details

EnumConverter() public méthode

public EnumConverter ( Type enumType ) : System
enumType System.Type
Résultat System

FieldToString() public méthode

public FieldToString ( object from ) : string
from object
Résultat string

StringToField() public méthode

public StringToField ( string from ) : object
from string
Résultat object