ConverterKind Enumeration |
Namespace: FileHelpers
Member name | Value | Description | |
---|---|---|---|
None | 0 | Null Converter. | |
Date | 1 | Convert from or to Date values. Params: arg1 is the string with the date format. | |
Boolean | 2 | Convert from or to Boolean values. Params: arg1 is the TRUE string Params: arg2 is the FALSE string | |
Byte | 3 | Convert from or to Byte values. Params: arg1 is the decimal separator, by default '.' | |
Int16 | 4 | Convert from or to Int16 or short values. Params: arg1 is the decimal separator, by default '.' | |
Int32 | 5 | Convert from or to Int32 or int values. Params: arg1 is the decimal separator, by default '.' | |
Int64 | 6 | Convert from or to Int64 or long values. Params: arg1 is the decimal separator, by default '.' | |
Decimal | 7 | Convert from or to Decimal values. Params: arg1 is the decimal separator, by default '.' | |
Double | 8 | Convert from or to Double values. Params: arg1 is the decimal separator, by default '.' | |
PercentDouble | 9 | Convert from or to Double values. Understands Percent '%' symbol and if present returns number /100 only while reading Params: arg1 is the decimal separator, by default '.' | |
Single | 10 | Convert from or to Single values. Params: arg1 is the decimal separator, by default '.' | |
SByte | 11 | Convert from or to Byte values. Params: arg1 is the decimal separator, by default '.' | |
UInt16 | 12 | Convert from or to UInt16 or unsigned short values. Params: arg1 is the decimal separator, by default '.' | |
UInt32 | 13 | Convert from or to UInt32 or unsigned int values. Params: arg1 is the decimal separator, by default '.' | |
UInt64 | 14 | Convert from or to UInt64 or unsigned long values. Params: arg1 is the decimal separator, by default '.' | |
DateMultiFormat | 15 | Convert from or to Date values using more than one valid format. Params: arg1 is a string with the main date format. This format is the unique used for write. Params: arg2 is a string with another valid read format. Params: arg3 is a string with another valid read format. | |
Char | 16 | Convert from or to Char values. Params: arg1 is a string with "" for default behavior, "x" for make the char ToLower or "X" for make it ToUpper. | |
Guid | 17 | Convert from/to Guid values. Params: arg1 is a string with one of the Guid.ToString() formats: "N", "D", "B", or "P" "N" -> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "D" -> xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx "B" -> {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} "P" -> (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) |