Click or drag to resize

INotificationServiceSubscribeOnBeforeDeletePrintedItem Method

Subscription on printed order item deletion operation. You can abort deletion operation by OperationCanceledException.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
IDisposable SubscribeOnBeforeDeletePrintedItem(
	RemotableAction<IOrder, IReadOnlyCollection<IOrderRootItem>, IReadOnlyCollection<IOrderModifierItem>, IDeletionMethod, IViewManager> callback
)

Parameters

callback
Type: Resto.Front.Api.RemotingHelpersRemotableActionIOrder, IReadOnlyCollectionIOrderRootItem, IReadOnlyCollectionIOrderModifierItem, IDeletionMethod, IViewManager
Action with access to IOrder, collections of IOrderRootItem and IOrderModifierItem deleting root order items, IDeletionMethod and IViewManager.

Return Value

Type: IDisposable
You may dispose result to remove subscription.
See Also