TypeValueDictionary.Add<TDestination> Method (Func<TDestination>) |
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
Syntaxpublic void Add<TDestination>(
Func<TDestination> getValue
)
Parameters
- getValue
- Type: System.Func<TDestination>
The func to get the value.
Type Parameters
- TDestination
- The destination type of conversion.
See Also