Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class OrderSearchResults<T>

The class represents order search results from IOrderSearchService.

Inheritance
System.Object
OrderSearchResults<T>
Namespace: EPiServer.Commerce.Order
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class OrderSearchResults<T> : Object where T : class, IOrderGroup
Type Parameters
Name Description
T

Constructors

OrderSearchResults(IEnumerable<T>, Int32)

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

Declaration
public OrderSearchResults(IEnumerable<T> orders, int totalRecords)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T> orders

The collection of orders found.

System.Int32 totalRecords

The total number of records found.

Properties

Orders

The returned orders.

Declaration
public IEnumerable<T> Orders { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T>

TotalRecords

The total records found.

Declaration
public int TotalRecords { get; }
Property Value
Type Description
System.Int32