Click or drag to resize

ValueMappingCollectionAddTSource, TDestination Method

Adds a new mapping for a value not null.

Namespace:  TB.ComponentModel
Assembly:  UniversalTypeConverter (in UniversalTypeConverter.dll) Version: 2.0.0
Syntax
C#
public IValueMapping Add<TSource, TDestination>(
	TSource sourceValue,
	TDestination destinationValue,
	IEqualityComparer<TSource> sourceValueComparer = null
)

Parameters

sourceValue
Type: TSource
destinationValue
Type: TDestination
sourceValueComparer (Optional)
Type: System.Collections.GenericIEqualityComparerTSource

Type Parameters

TSource
TDestination

Return Value

Type: IValueMapping
See Also