Search Results for

    Show / Hide Table of Contents

    Class DynamicEnumerableExtensions

    Define extensions on System.Collections.IEnumerable.

    Inheritance
    System.Object
    DynamicEnumerableExtensions
    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.Linq.Dynamic.Core
    Assembly: System.Linq.Dynamic.Core.dll
    Syntax
    public static class DynamicEnumerableExtensions

    Methods

    | Improve this Doc View Source

    ToDynamicArray(IEnumerable)

    Creates an array of dynamic objects from a System.Collections.IEnumerable.

    Declaration
    public static object[] ToDynamicArray(this IEnumerable source)
    Parameters
    Type Name Description
    System.Collections.IEnumerable source

    A System.Collections.IEnumerable to create an array from.

    Returns
    Type Description
    System.Object[]

    An array that contains the elements from the input sequence.

    | Improve this Doc View Source

    ToDynamicArray(IEnumerable, Type)

    Creates an array of dynamic objects from a System.Collections.IEnumerable.

    Declaration
    public static object[] ToDynamicArray(this IEnumerable source, Type type)
    Parameters
    Type Name Description
    System.Collections.IEnumerable source

    A System.Collections.IEnumerable to create an array from.

    System.Type type

    A System.Type cast to.

    Returns
    Type Description
    System.Object[]

    An Array that contains the elements from the input sequence.

    | Improve this Doc View Source

    ToDynamicArray<T>(IEnumerable)

    Creates an array of dynamic objects from a System.Collections.IEnumerable.

    Declaration
    public static T[] ToDynamicArray<T>(this IEnumerable source)
    Parameters
    Type Name Description
    System.Collections.IEnumerable source

    A System.Collections.IEnumerable to create an array from.

    Returns
    Type Description
    T[]

    An Array{T} that contains the elements from the input sequence.

    Type Parameters
    Name Description
    T

    The generic type.

    | Improve this Doc View Source

    ToDynamicList(IEnumerable)

    Creates a list of dynamic objects from a System.Collections.IEnumerable.

    Declaration
    public static List<object> ToDynamicList(this IEnumerable source)
    Parameters
    Type Name Description
    System.Collections.IEnumerable source

    A System.Collections.IEnumerable to create an array from.

    Returns
    Type Description
    System.Collections.Generic.List<System.Object>

    A List that contains the elements from the input sequence.

    | Improve this Doc View Source

    ToDynamicList(IEnumerable, Type)

    Creates a list of dynamic objects from a System.Collections.IEnumerable.

    Declaration
    public static List<object> ToDynamicList(this IEnumerable source, Type type)
    Parameters
    Type Name Description
    System.Collections.IEnumerable source

    A System.Collections.IEnumerable to create an array from.

    System.Type type

    A System.Type cast to.

    Returns
    Type Description
    System.Collections.Generic.List<System.Object>

    A List that contains the elements from the input sequence.

    | Improve this Doc View Source

    ToDynamicList<T>(IEnumerable)

    Creates a list of dynamic objects from a System.Collections.IEnumerable.

    Declaration
    public static List<T> ToDynamicList<T>(this IEnumerable source)
    Parameters
    Type Name Description
    System.Collections.IEnumerable source

    A System.Collections.IEnumerable to create an array from.

    Returns
    Type Description
    System.Collections.Generic.List<T>

    A List{T} that contains the elements from the input sequence.

    Type Parameters
    Name Description
    T

    Generic Type

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX