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

Author: Đonny

Fully type-safe TypeConverter

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

Syntax

C#
public abstract class TypeConverter<T, TOther> : TypeConverter<T>, 
	TypeConverter<(Of <(<'T>)>)>..::..ITypeConverterWithValidation<TOther>
Visual Basic
Public MustInherit Class TypeConverter(Of T, TOther) _
	Inherits TypeConverter(Of T) _
	Implements TypeConverter<(Of <(<'T>)>)>..::..ITypeConverterWithValidation(Of TOther)
Visual C++
generic<typename T, typename TOther>
public ref class TypeConverter abstract : public TypeConverter<T>, 
	TypeConverter<(Of <(<'T>)>)>..::..ITypeConverterWithValidation<TOther>
F#
[<AbstractClassAttribute>]
type TypeConverter<'T, 'TOther> =  
    class
        inherit TypeConverter<'T>
        interface TypeConverter<(Of <(<'T>)>)>..::..ITypeConverterWithValidation<'TOther>
    end
JScript
JScript does not support generic types or methods.

Type Parameters

T
Main type that will be conberted to TOther and from TOther
TOther
Type the T will be converted from and to

Remarks

This class provides type-safe base of TypeConverter for two types. You can extend its support for another types by implementing another TypeConverter<(Of <(<'T>)>)> nested interfaces.

Inheritance Hierarchy

See Also

Collapse/expand Version History

1.5.2