Defines methods for converting between typed values and strings.
Namespace: SimolAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
C# |
---|
public interface ITypeFormatter |
Visual Basic |
---|
Public Interface ITypeFormatter |
Visual C++ |
---|
public interface class ITypeFormatter |
Remarks
The .NET class libraries provide several standard classes and interfaces for performing type conversion
(TypeConverter, IConvertible, and IFormattable).
But these standard conversion patterns are not ideal for SimpleDB formatting. They are either overly complex,
coupled to specific implementation classes, or designed for one-way conversion to strings. ITypeFormatter
provides a simple interface for defining arbitrary, bi-directional conversion between strings and .NET Types.