ModelDataExtensions.CopyAndConvertListMaybeBuggy<T1, T2> Method (IEnumerable<T1>, IList<T2>) |
Namespace:
Dundas.BI.WebApi.Models
Assembly:
Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static void CopyAndConvertListMaybeBuggy<T1, T2>(
this IEnumerable<T1> source,
IList<T2> destination
)
where T1 : class
where T2 : class
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Shared Sub CopyAndConvertListMaybeBuggy(Of T1 As Class, T2 As Class) (
source As IEnumerable(Of T1),
destination As IList(Of T2)
)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
generic<typename T1, typename T2>
where T1 : ref class
where T2 : ref class
static void CopyAndConvertListMaybeBuggy(
IEnumerable<T1>^ source,
IList<T2>^ destination
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member CopyAndConvertListMaybeBuggy :
source : IEnumerable<'T1> *
destination : IList<'T2> -> unit when 'T1 : not struct when 'T2 : not struct
Parameters
- source
- Type: System.Collections.Generic.IEnumerable<T1>
- destination
- Type: System.Collections.Generic.IList<T2>
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
IEnumerable<T1>. 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