TypeConverterTParse Method

Parses a read-only span of characters and returns the corresponding .NET object.

Definition

Namespace: FolkerKinzel.CsvTools.Mappings.TypeConverters
Assembly: FolkerKinzel.CsvTools.Mappings (in FolkerKinzel.CsvTools.Mappings.dll) Version: 1.1.0+1263e8243dc2cd78095f678f813d7d9c52ea4315
C#
public T Parse(
	ReadOnlySpan<char> value
)

Parameters

value  ReadOnlySpanChar
The span to parse.

Return Value

T
An object of the desired type or DefaultValue.

Remarks

Exceptions

FormatException The parsing failed and Throwing is true.

See Also