Click or drag to resize

IViewManagerShowQuantityChangerPopup Method

Shows quantity changer dialog.

Namespace:  Resto.Front.Api.UI
Assembly:  Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax
C#
IReadOnlyCollection<int> ShowQuantityChangerPopup(
	string title,
	string text,
	int minimalQuantity,
	int maximalQuantity,
	IReadOnlyCollection<(string name, int quantity, int minimalQuantity, int maximalQuantity)> items
)

Parameters

title
Type: SystemString
Dialog title.
text
Type: SystemString
Dialog hint text.
minimalQuantity
Type: SystemInt32
Minimal quantity for all items.
maximalQuantity
Type: SystemInt32
Maximal quantity for all items.
items
Type: System.Collections.GenericIReadOnlyCollectionValueTupleString, Int32, Int32, Int32
Items which quantity needs to be changed.

Return Value

Type: IReadOnlyCollectionInt32
Actual quantities.
See Also