Hexapp Documentation
Hexapp Documentation
Hexapp API
Reference
MicaSystems.Utils
Utils_Linq Class
Utils_Linq Methods
CastToList Method
CastToList(T) Method (IEnumerable)
CastToList(T) Method (IEnumerable, Func(Object, T))
Utils_Linq
CastToList
T
Method (IEnumerable, Func
Object,
T
)
Casts an enumerable to a strongly typed List.
Namespace:
MicaSystems.Utils
Assembly:
MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
Copy
public
static
List
<T>
CastToList
<T>(
this
IEnumerable
list
,
Func
<
Object
, T>
convert
)
Parameters
list
Type:
System.Collections
IEnumerable
convert
Type:
System
Func
Object
,
T
Type Parameters
T
Return Value
Type:
List
T
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable
. 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
Reference
Utils_Linq Class
CastToList Overload
MicaSystems.Utils Namespace
www.hexapp.com
×
Close feedback form
Send us
comments or requests about documentation