Search Results for

    Show / Hide Table of Contents

    Class OrderCoordinator<T>

    Order coordinator.

    Inheritance
    Object
    OrderCoordinator<T>
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Acoustics.Shared
    Assembly: Acoustics.Shared.dll
    Syntax
    public class OrderCoordinator<T>
    Type Parameters
    Name Description
    T

    Type to order.

    Constructors

    | Improve this Doc View Source

    OrderCoordinator()

    Initializes a new instance of the OrderCoordinator<T> class.

    Declaration
    public OrderCoordinator()

    Properties

    | Improve this Doc View Source

    Orders

    Gets Orders.

    Declaration
    public List<IOrderer<T>> Orders { get; }
    Property Value
    Type Description
    List<IOrderer<T>>

    Methods

    | Improve this Doc View Source

    ApplyOrders(IQueryable<T>)

    Apply orders.

    Declaration
    public IQueryable<T> ApplyOrders(IQueryable<T> source)
    Parameters
    Type Name Description
    IQueryable<T> source

    The source.

    Returns
    Type Description
    IQueryable<T>

    Queryable ordered by Orders.

    Remarks

    note, did not return IOrderedQueryable to support ability to return with empty Orders.

    | Improve this Doc View Source

    OneOrder<TOrderProperty>(Expression<Func<T, TOrderProperty>>, SortDirection)

    Create an order with one order specified.

    Declaration
    public static OrderCoordinator<T> OneOrder<TOrderProperty>(Expression<Func<T, TOrderProperty>> orderExpr, SortDirection sortDirection)
    Parameters
    Type Name Description
    Expression<Func<T, TOrderProperty>> orderExpr

    The order expr.

    SortDirection sortDirection

    The sort Direction.

    Returns
    Type Description
    OrderCoordinator<T>

    A new ordercooodrinator.

    Type Parameters
    Name Description
    TOrderProperty

    The property being ordered by.

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top