Class BundleContentExtensions
Extension methods for BundleContent.
Inheritance
System.Object
BundleContentExtensions
Namespace: EPiServer.Commerce.Catalog.ContentTypes
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0Syntax
public static class BundleContentExtensions : Object
Methods
GetEntries(BundleContent)
Gets the entries included in a bundle.
Declaration
public static IEnumerable<ContentReference> GetEntries(this BundleContent bundle)
Parameters
Type | Name | Description |
---|---|---|
BundleContent | bundle | The bundle. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<EPiServer.Core.ContentReference> | EPiServer.Core.ContentReferences of the bundle entries. |
GetEntries(BundleContent, IRelationRepository)
Gets the entries included in a bundle.
Declaration
public static IEnumerable<ContentReference> GetEntries(this BundleContent bundle, IRelationRepository relationRepository)
Parameters
Type | Name | Description |
---|---|---|
BundleContent | bundle | The bundle. |
IRelationRepository | relationRepository | The relation repository. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<EPiServer.Core.ContentReference> | EPiServer.Core.ContentReferences of the bundle entries. |