Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HasTextFilteringFormatter Constructor

Creates a new instance of this HasTextFilteringFormatter.

[Visual Basic]
Public Overloads Sub New( _
   ByVal defaultValue As String, _
   ByVal underlyingFormatter As IFormatter _
)
[C#]
HasTextFilteringFormatter(
   string defaultValue,
   IFormatter underlyingFormatter
);

Parameters

defaultValue
the default value to be returned, if input text doesn't contain text
underlyingFormatter
an optional underlying formatter

Remarks

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

See Also

HasTextFilteringFormatter Class | Spring.Globalization.Formatters Namespace | HasTextFilteringFormatter Constructor Overload List