ModelDataExtensionsCopySetToListT Method |
Helper method to copy one 'Set' object into a list.
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 CopySetToList<T>(
this ISet<T> source,
IList<T> destination
)
<ExtensionAttribute>
Public Shared Sub CopySetToList(Of T) (
source As ISet(Of T),
destination As IList(Of T)
)
public:
[ExtensionAttribute]
generic<typename T>
static void CopySetToList(
ISet<T>^ source,
IList<T>^ destination
)
[<ExtensionAttribute>]
static member CopySetToList :
source : ISet<'T> *
destination : IList<'T> -> unit
Parameters
- source
- Type: System.Collections.GenericISetT
The source. - destination
- Type: System.Collections.GenericIListT
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
ISetT. 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