Class LinqHelpers
LINQ helper methods
Inheritance
System.Object
LinqHelpers
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public static class LinqHelpers
Methods
AsObjects(IEnumerable<DynValue>)
Converts the elements to CLR objects
Declaration
public static IEnumerable<object> AsObjects(this IEnumerable<DynValue> enumerable)
Parameters
|
IEnumerable<DynValue>
enumerable
The enumerable. |
Returns
|
IEnumerable<System.Object>
|
AsObjects<T>(IEnumerable<DynValue>)
Converts the elements to CLR objects of the desired type
Declaration
public static IEnumerable<T> AsObjects<T>(this IEnumerable<DynValue> enumerable)
Parameters
|
IEnumerable<DynValue>
enumerable
The enumerable. |
Returns
|
IEnumerable<T>
|
Type Parameters
|
T
The desired type |
Convert<T>(IEnumerable<DynValue>, DataType)
Converts the specified enumerable dynvalues of a given script type to objects of a given type
Declaration
public static IEnumerable<T> Convert<T>(this IEnumerable<DynValue> enumerable, DataType type)
Parameters
|
IEnumerable<DynValue>
enumerable
The enumerable. |
|
DataType
type
The type. |
Returns
|
IEnumerable<T>
|
Type Parameters
|
T
The desired type |