Table of Contents

Interface IFieldConverter

Namespace
NuvTools.Report.Parsing.Converters
Assembly
NuvTools.Report.dll

Defines a converter that transforms a raw string value into a typed object.

public interface IFieldConverter

Methods

Convert(string, string?)

Converts the raw string value from a field into the target type.

object? Convert(string value, string? format)

Parameters

value string

The raw string value from the field.

format string

An optional format string (e.g. date format).

Returns

object

The converted value, or null if the value cannot be converted.