C# Class FluentFiles.Converters.StringConverter

Converts values that are already strings.
Inheritance: IFieldValueConverter
Afficher le fichier Open project: mthamil/FluentFiles

Méthodes publiques

Méthode Description
CanFormat ( Type from ) : bool

Whether a value of a given type can be converted to a string.

CanParse ( Type to ) : bool

Whether a value of a given type can be converted from a string.

Parse ( ) : object

Converts a ReadOnlySpan{Char}s to a string.

Method Details

CanFormat() public méthode

Whether a value of a given type can be converted to a string.
public CanFormat ( Type from ) : bool
from Type The type to convert from.
Résultat bool

CanParse() public méthode

Whether a value of a given type can be converted from a string.
public CanParse ( Type to ) : bool
to Type The type to convert to.
Résultat bool

Parse() public méthode

Converts a ReadOnlySpan{Char}s to a string.
public Parse ( ) : object
Résultat object