Class FieldConverter<T>
- Namespace
- NuvTools.Report.Parsing.Converters
- Assembly
- NuvTools.Report.dll
Generic abstract base class for type-safe field converters.
public abstract class FieldConverter<T> : IFieldConverter
Type Parameters
TThe target type of the conversion.
- Inheritance
-
FieldConverter<T>
- Implements
- Inherited Members
Methods
Convert(string, string?)
Converts the raw string value to the target type.
public abstract T? Convert(string value, string? format)
Parameters
Returns
- T
The converted value, or
nullif the value cannot be converted.