C# 클래스 FluentFiles.Converters.StringConverter

Converts values that are already strings.
상속: IFieldValueConverter
파일 보기 프로젝트 열기: mthamil/FluentFiles

공개 메소드들

메소드 설명
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