[This is preliminary documentation and is subject to change.]

Interface for type-safe TypeConverters (read-write conversion)

Namespace:  Tools.ComponentModelT
Assembly:  Tools (in Tools.dll) Version: 1.5.2.0

Syntax

C#
protected interface ITypeConverter<TOther> : TypeConverter<(Of <(T>)>)..::.ITypeConverterFrom<TOther>, 
	TypeConverter<(Of <(T>)>)..::.ITypeConverterTo<TOther>
Visual Basic (Declaration)
Protected Interface ITypeConverter(Of TOther) _
	Implements TypeConverter<(Of <(T>)>)..::.ITypeConverterFrom(Of TOther), TypeConverter<(Of <(T>)>)..::.ITypeConverterTo(Of TOther)
Visual C++
generic<typename TOther>
protected interface class ITypeConverter : TypeConverter<(Of <(T>)>)..::.ITypeConverterFrom<TOther>, 
	TypeConverter<(Of <(T>)>)..::.ITypeConverterTo<TOther>
J#
J# supports the use of generic APIs, but not the declaration of new ones.
JScript
JScript does not support generic types or methods.

Type Parameters

TOther
Other type (e.g. String - most common). Value of T are mostly converted to this type in order to be show to user and are converted from this type in mostly in order to get user input

Remarks

By implementing this interface you tells to your base class (TypeConverter<(Of <(T>)>)) that you are able to convert to and from type TOther

See Also