[This is preliminary documentation and is subject to change.]
Interface for type-safe TypeConverters (read-write conversion)
Namespace: Tools.ComponentModelTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
protected interface ITypeConverter<TOther> : TypeConverter<(Of <(<'T>)>)>..::..ITypeConverterFrom<TOther>, TypeConverter<(Of <(<'T>)>)>..::..ITypeConverterTo<TOther> |
| Visual Basic |
|---|
Protected Interface ITypeConverter(Of TOther) _ Inherits 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> |
| F# |
|---|
type ITypeConverter<'TOther> = interface interface TypeConverter<(Of <(<'T>)>)>..::..ITypeConverterFrom<'TOther> interface TypeConverter<(Of <(<'T>)>)>..::..ITypeConverterTo<'TOther> end |
| JScript |
|---|
|
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