Table of Contents

Class UriConverter

Namespace
CsvHelper.TypeConversion
Assembly
CsvHelper.dll

Converts a System.Uri to and from a string.

public class UriConverter : DefaultTypeConverter, ITypeConverter
Inheritance
UriConverter
Implements
Inherited Members

Constructors

UriConverter()

public UriConverter()

Methods

ConvertFromString(string?, IReaderRow, MemberMapData)

Converts the string to a System.Uri.

public override object? ConvertFromString(string? text, IReaderRow row, MemberMapData memberMapData)

Parameters

text string

The string to convert to an object.

row IReaderRow

The IReaderRow for the current record.

memberMapData MemberMapData

The MemberMapData for the member being created.

Returns

object

The System.Uri created from the string.