NotificationServiceExtensionsSubscribeOnBeforeDeletePrintedItem Method |
Namespace:
Resto.Front.Api.Extensions
Assembly:
Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax public static IDisposable SubscribeOnBeforeDeletePrintedItem(
this INotificationService notificationService,
Action<IOrder, IReadOnlyCollection<IOrderRootItem>, IReadOnlyCollection<IOrderModifierItem>, IDeletionMethod, IViewManager> callback
)
Parameters
- notificationService
- Type: Resto.Front.ApiINotificationService
Notification Service - callback
- Type: SystemActionIOrder, 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.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
INotificationService. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also