ModelDataExtensionsCopyAndConvertListT1, T2 Method (IEnumerableT1, ICollectionT2, ReadOnlyDictionary)

Namespace:  Dundas.BI.WebApi.Models
Assembly:  Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (26.1.0.1000)
Syntax
public static void CopyAndConvertList<T1, T2>(
	this IEnumerable<T1>? source,
	ICollection<T2>? destination,
	ReadOnlyDictionary? mappingRules
)
where T2 : new()

Parameters

source
Type: System.Collections.GenericIEnumerableT1
destination
Type: System.Collections.GenericICollectionT2
mappingRules
Type: System.Collections.ObjectModelReadOnlyDictionaryTKey, TValue

Type Parameters

T1
T2

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT1. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also