Method GetValidBlocks
GetValidBlocks(string, bool, FetchFields)
Returns the list of blocks of the section that are valid in a given finishes config string (which means they have articles having prices defined for the finishes config).
Declaration
public IList<Appli.CatalogSummary.Block> GetValidBlocks(string finishesConfigString, bool skipHidden = false, Appli.CatalogSummary.Block.FetchFields fetchFields = (Appli.CatalogSummary.Block.FetchFields)-1)
Parameters
Type | Name | Description |
---|---|---|
string | finishesConfigString | |
bool | skipHidden | Specifies whether hidden blocks should be omitted from the result. |
Appli.CatalogSummary.Block.FetchFields | fetchFields | Specifies which fields should be fetched from the catalog into the returned list. This allows to reduce perfomance overhead of fetching unnecessary data from the catalog. The default value fetches all the fields. |
Returns
Type | Description |
---|---|
IList<Appli.CatalogSummary.Block> |