iikoFront Api V7 Code Reference
iikoFront Api V7 Code Reference
Resto.Front.Api.Data.Assortment
ProductGroupExtensions Class
ProductGroupExtensions Methods
GetChildGroups Method
GetChildProducts Method
TryGetChildGroups Method
TryGetChildProducts Method
TryGetParent Method
ProductGroupExtensions
TryGetChildProducts Method
Returns childProducts of the specified productGroup or
null
if productGroup doesn't exist.
Namespace:
Resto.Front.Api.Data.Assortment
Assembly:
Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax
C#
Copy
public
static
IReadOnlyList
<
IProduct
>
TryGetChildProducts
(
this
IProductGroup
productGroup
)
Parameters
productGroup
Type:
Resto.Front.Api.Data.Assortment
IProductGroup
Return Value
Type:
IReadOnlyList
IProduct
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IProductGroup
. 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
Reference
ProductGroupExtensions Class
Resto.Front.Api.Data.Assortment Namespace