Class RelatedGroupViewModelExtensions
- Namespace
- Dynamicweb.Ecommerce.ProductCatalog
- Assembly
- Dynamicweb.Ecommerce.dll
The class represents shared member providing extensions for the RelatedGroupViewModel.
public static class RelatedGroupViewModelExtensions
- Inheritance
-
RelatedGroupViewModelExtensions
- Inherited Members
Remarks
Be careful about performance when using these extension methods Be careful about circular references when using these extension methods
Methods
GetRelatedProducts(RelatedGroupViewModel)
Gets a collection of ProductViewModel containing all related products of specified related group
public static IEnumerable<ProductViewModel> GetRelatedProducts(this RelatedGroupViewModel relatedGroup)
Parameters
relatedGroup
RelatedGroupViewModel