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
)
<ExtensionAttribute>
Public Shared Sub CopyListToSet(Of T) (
source As IList(Of T),
destination As ISet(Of T)
)
public:
[ExtensionAttribute]
generic<typename T>
static void CopyListToSet(
IList<T>^ source,
ISet<T>^ destination
)
[<ExtensionAttribute>]
static member CopyListToSet :
source : IList<'T> *
destination : ISet<'T> -> unit
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