Class RequestProcessorFactory
A factory for instances of RequestProcessor.
Inheritance
System.Object
RequestProcessorFactory
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: Mediachase.Commerce.InventoryService.BusinessLogic
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class RequestProcessorFactory
Constructors
RequestProcessorFactory(OperationKeySerializer)
Creates a new instance of RequestProcessorFactory.
Declaration
public RequestProcessorFactory(OperationKeySerializer operationKeySerializer)
Parameters
Type | Name | Description |
---|---|---|
OperationKeySerializer | operationKeySerializer | The operation key serializer for the implementation. |
Methods
CreateProcessor(IInventoryService, InventoryRequest)
Creates an instance of RequestProcessor to process request
.
Declaration
public virtual RequestProcessor CreateProcessor(IInventoryService inventoryService, InventoryRequest request)
Parameters
Type | Name | Description |
---|---|---|
IInventoryService | inventoryService | The inventory service to use. |
InventoryRequest | request | The request to process. |
Returns
Type | Description |
---|---|
RequestProcessor | A new instance of RequestProcessor to process the specified request. |