Click or drag to resize

NotificationServiceExtensionsSubscribeOnBeforeOrderBill Method

Subscription on order billing operation. You can abort printing operation by OperationCanceledException.

Namespace:  Resto.Front.Api.Extensions
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
public static IDisposable SubscribeOnBeforeOrderBill(
	this INotificationService notificationService,
	Action<IOrder, IViewManager> callback
)

Parameters

notificationService
Type: Resto.Front.ApiINotificationService
Notification Service
callback
Type: SystemActionIOrder, IViewManager
Action with access to IOrder 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