ModelDataExtensionsCopyListToSetT Method

Helper method to copy a list into a 'Set'.

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 CopyListToSet<T>(
	this IList<T> source,
	ISet<T> destination
)

Parameters

source
Type: System.Collections.GenericIListT
The source.
destination
Type: System.Collections.GenericISetT
The destination.

Type Parameters

T
Type of the 'set' items.

Usage Note

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