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

Provides string formatting when converting FieldToString, and uses Convert.ChangeType when converting back.
Inheritance: FileHelpers.ConverterBase
Show file Open project: stuarta0/banking-au Class Usage Examples

Public Methods

Method Description
FieldToString ( object from ) : string
StringFormatConverter ( Type fieldType, string format ) : System
StringToField ( string from ) : object

Method Details

FieldToString() public method

public FieldToString ( object from ) : string
from object
return string

StringFormatConverter() public method

public StringFormatConverter ( Type fieldType, string format ) : System
fieldType System.Type
format string
return System

StringToField() public method

public StringToField ( string from ) : object
from string
return object