London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class OrderSearchResults<T>

The class represents order search results from IOrderSearchService.

Inheritance
System.Object
OrderSearchResults<T>
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: EPiServer.Commerce.Order
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public class OrderSearchResults<T>
    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