C# Класс FluentFiles.Converters.StringConverter

Converts values that are already strings.
Наследование: IFieldValueConverter
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

CanFormat() публичный Метод

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.
Результат bool

CanParse() публичный Метод

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.
Результат bool

Parse() публичный Метод

Converts a ReadOnlySpan{Char}s to a string.
public Parse ( ) : object
Результат object