IStringConverter

Description

interface Tinman.Core.Formatting.IStringConverter<T>

Extended by

ITypeSerializerEx

Base interface for classes that convert between atomic values and strings.

Public / Methods

String​Read


public method StringRead → (2)

value in : string

The string value or null.

defaultValue opt : T = default(T)

The default value to use if value in is invalid.

returns → T

The read value.

Reads a value from the given string value.

String​Write


public method StringWrite → (1)

value in : T

The value to write.

returns → string

The written string value or null.

Writes the given value to a string value.