Class OFXPropertyConverter
- Namespace
- Tudormobile.QIFLibrary
- Assembly
- Tudormobile.QIFLibrary.dll
Converts OFX properties to known objects.
public class OFXPropertyConverter
- Inheritance
-
OFXPropertyConverter
- Inherited Members
- Extension Methods
Methods
Convert<T>(OFXProperty)
Converts an OFX property to another type.
public static T? Convert<T>(OFXProperty root) where T : class
Parameters
rootOFXPropertyRoot property.
Returns
- T
Converted type.
Type Parameters
TConverted type.
Exceptions
- NotSupportedException
Throws if property cannot be converted to the indicated type.
Convert<T>(OFXProperty, IPropertyConverter<T>)
Converts an OFX property to another type.
public static T? Convert<T>(OFXProperty root, IPropertyConverter<T> converter)
Parameters
rootOFXPropertyRoot property.
converterIPropertyConverter<T>Converter to use.
Returns
- T
Converted type.
Type Parameters
TConverted type.