Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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 | |
return | object |
protected FilterValueToParse ( string value ) : string | ||
value | string | |
return | string |
public FilteringFormatter ( IFormatter underlyingFormatter ) | ||
underlyingFormatter | IFormatter | an optional underlying formatter |
public Format ( object value ) : string | ||
value | object | The value to format. |
return | string |
public Parse ( string value ) : object | ||
value | string | The value to parse. |
return | object |