Click or drag to resize

NotificationServiceExtensionsSubscribeOnBeforeOrderBill Method

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

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

Parameters

notificationService
Type: Resto.Front.Api.V5INotificationService
Notification Service
callback
Type: SystemActionIOrder, IProgressBar
Action with access to IOrder and IProgressBar.

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