C# 클래스 Spring.Globalization.Formatters.FilteringFormatter

Provides base functionality for filtering values before they actually get parsed/formatted.
상속: IFormatter
파일 보기 프로젝트 열기: spring-projects/spring-net

공개 메소드들

메소드 설명
FilteringFormatter ( IFormatter underlyingFormatter )

Creates a new instance of this FilteringFormatter.

If no underlying formatter is specified, the values get passed through "as-is" after being filtered

Format ( object value ) : string

Formats the specified value.

Parse ( string value ) : object

Parses the specified value.

보호된 메소드들

메소드 설명
FilterValueToFormat ( object value ) : object

Allows to change a value before it gets formatted by the underlying formatter

FilterValueToParse ( string value ) : string

Allows to rewrite a value before it gets parsed by the underlying formatter

메소드 상세

FilterValueToFormat() 보호된 메소드

Allows to change a value before it gets formatted by the underlying formatter
protected FilterValueToFormat ( object value ) : object
value object
리턴 object

FilterValueToParse() 보호된 메소드

Allows to rewrite a value before it gets parsed by the underlying formatter
protected FilterValueToParse ( string value ) : string
value string
리턴 string

FilteringFormatter() 공개 메소드

Creates a new instance of this FilteringFormatter.
If no underlying formatter is specified, the values get passed through "as-is" after being filtered
public FilteringFormatter ( IFormatter underlyingFormatter )
underlyingFormatter IFormatter an optional underlying formatter

Format() 공개 메소드

Formats the specified value.
public Format ( object value ) : string
value object The value to format.
리턴 string

Parse() 공개 메소드

Parses the specified value.
public Parse ( string value ) : object
value string The value to parse.
리턴 object