Show / Hide Table of Contents

    Class DynamicEnumerableExtensions

    Define extensions on IEnumerable.

    Inheritance
    Object
    DynamicEnumerableExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    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 IEnumerable.

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

    A IEnumerable to create an array from.

    Returns
    Type Description
    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 IEnumerable.

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

    A IEnumerable to create an array from.

    Type type

    A Type cast to.

    Returns
    Type Description
    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 IEnumerable.

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

    A 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 IEnumerable.

    Declaration
    public static List<object> ToDynamicList([NotNull] this IEnumerable source)
    Parameters
    Type Name Description
    IEnumerable source

    A IEnumerable to create an array from.

    Returns
    Type Description
    List<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 IEnumerable.

    Declaration
    public static List<object> ToDynamicList([NotNull] this IEnumerable source, [NotNull] Type type)
    Parameters
    Type Name Description
    IEnumerable source

    A IEnumerable to create an array from.

    Type type

    A Type cast to.

    Returns
    Type Description
    List<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 IEnumerable.

    Declaration
    public static List<T> ToDynamicList<T>([NotNull] this IEnumerable source)
    Parameters
    Type Name Description
    IEnumerable source

    A IEnumerable to create an array from.

    Returns
    Type Description
    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
    Back to top Generated by DocFX