Class DefaultOrderSearchService
This class is intended to be used internally by EPiServer. We do not support any backward compatibility on this.
Default implementation of IOrderSearchService.
Inheritance
System.Object
DefaultOrderSearchService
Implements
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.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2Syntax
public class DefaultOrderSearchService : IOrderSearchService
Constructors
DefaultOrderSearchService(ICartSearchService)
Initialize new instance of DefaultOrderSearchService.
Declaration
public DefaultOrderSearchService(ICartSearchService cartSearch)
Parameters
Type | Name | Description |
---|---|---|
ICartSearchService | cartSearch | The cart search service. |
Methods
Find<TOrderGroup>(OrderSearchFilter)
Finds orders with a specific OrderSearchFilter for a specific TOrderGroup
.
Declaration
public virtual OrderSearchResults<TOrderGroup> Find<TOrderGroup>(OrderSearchFilter filter)
where TOrderGroup : class, IOrderGroup
Parameters
Type | Name | Description |
---|---|---|
OrderSearchFilter | filter | The search filter. |
Returns
Type | Description |
---|---|
OrderSearchResults<TOrderGroup> | A collection of order of |
Type Parameters
Name | Description |
---|---|
TOrderGroup | The given order type for filter. |