Class OrderSearchResults<T>
NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version.
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: 12.17.2Syntax
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 |