ModelDataExtensionsConvertAndCopyIEnumerableToList Method

Copies the FileSystemEntry enumerable collection to a list of FileData.

Namespace:  Dundas.BI.WebApi.Models
Assembly:  Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (24.1.0.1001)
Syntax
public static void ConvertAndCopyIEnumerableToList(
	this IEnumerable<FileSystemEntry> source,
	IList<FileData> destination,
	ReadOnlyDictionary<string, Action<FileSystemEntry, FileData>> mappingRules
)

Parameters

source
Type: System.Collections.GenericIEnumerableFileSystemEntry
The source.
destination
Type: System.Collections.GenericIListFileData
The destination.
mappingRules
Type: System.Collections.ObjectModelReadOnlyDictionaryString, ActionFileSystemEntry, FileData
The mapping rules.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableFileSystemEntry. 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