Click or drag to resize

TypeValueDictionaryAddTDestination Method (FuncTDestination)

Adds the getValue as the provider for a return value for conversions that convert to TDestination. This operation overwrites previous declarations for this type, if any.

Namespace:  TB.ComponentModel
Assembly:  UniversalTypeConverter (in UniversalTypeConverter.dll) Version: 2.0.0
Syntax
C#
public void Add<TDestination>(
	Func<TDestination> getValue
)

Parameters

getValue
Type: SystemFuncTDestination
The func to get the value.

Type Parameters

TDestination
The destination type of conversion.
See Also