Class BundleContentExtensions

Extension methods for BundleContent.

Inheritance
System.Object
BundleContentExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Catalog.ContentTypes
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
public static class BundleContentExtensions

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.