메소드 | 설명 | |
---|---|---|
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
|
protected FilterValueToFormat ( object value ) : object | ||
value | object | |
리턴 | object |
protected FilterValueToParse ( string value ) : string | ||
value | string | |
리턴 | string |
public FilteringFormatter ( IFormatter underlyingFormatter ) | ||
underlyingFormatter | IFormatter | an optional underlying formatter |