Class TourDeletedConsumer
Represents the shipment saved consumer for the rrp
Inheritance
System.Object
TourDeletedConsumer
Namespace: Simplic.PlugIn.Logistics.Disposition
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class TourDeletedConsumer : ConsumerBase<TourDeleted>
Constructors
| Improve this Doc View SourceTourDeletedConsumer(IKeyValueStore, ITourService, IShipmentService, ITourShipmentAssignmentService, IHubContext<IResourceRequirementPlanningClient>)
Initialize consumer
Declaration
public TourDeletedConsumer(IKeyValueStore keyValueStore, ITourService tourService, IShipmentService shipmentService, ITourShipmentAssignmentService tourShipmentAssignmentService, IHubContext<IResourceRequirementPlanningClient> hubContext)
Parameters
Type | Name | Description |
---|---|---|
IKeyValueStore | keyValueStore | |
ITourService | tourService | |
IShipmentService | shipmentService | |
ITourShipmentAssignmentService | tourShipmentAssignmentService | |
IHubContext<IResourceRequirementPlanningClient> | hubContext |
Methods
| Improve this Doc View SourceExecute(ConsumeContext<TourDeleted>)
Method to execute
Declaration
public override async Task Execute(ConsumeContext<TourDeleted> message)
Parameters
Type | Name | Description |
---|---|---|
ConsumeContext<TourDeleted> | message |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |