ProductGenerator: CreateProductFrom
Called to create a new instance of product from a Product Generator.
Function
Product CreateProductFrom(generator: ProductGenerator);
Parameters
| Name | Type | Description |
|---|---|---|
| generator | ProductGenerator | The ProductGenerator to use to create the product |
Return Value
An instance of the product type or null on error