Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CustomNumberConverter Class

A custom TypeConverter for any primitive numeric type such as Int32, Single, Double, etc.

For a list of all members of this type, see CustomNumberConverter Members .


[Visual Basic]
Public Class CustomNumberConverter
    Inherits TypeConverter
public class CustomNumberConverter : TypeConverter

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Can use a given NumberFormatInfo for (locale-specific) parsing and rendering.

This is not meant to be used as a system TypeConverter but rather as a locale-specific number converter within custom controller code, to parse user-entered number strings into number properties of objects, and render them in a UI form.


Namespace: Spring.Core.TypeConversion

Assembly: Spring.Core (in Spring.Core.dll)

See Also

CustomNumberConverter Members | Spring.Core.TypeConversion Namespace