Class PackageContentExtensions
Extension methods for PackageContent.
Inheritance
System.Object
PackageContentExtensions
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: 13.30.0Syntax
public static class PackageContentExtensions
Methods
GetEntries(PackageContent)
Gets the entries included in a package.
Declaration
public static IEnumerable<ContentReference> GetEntries(this PackageContent package)
Parameters
Type | Name | Description |
---|---|---|
PackageContent | package | The package. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<EPiServer.Core.ContentReference> | EPiServer.Core.ContentReferences of the bundle entries. |
GetEntries(PackageContent, IRelationRepository)
Gets the entries included in a package.
Declaration
public static IEnumerable<ContentReference> GetEntries(this PackageContent package, IRelationRepository relationRepository)
Parameters
Type | Name | Description |
---|---|---|
PackageContent | package | The package. |
IRelationRepository | relationRepository | The relation repository. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<EPiServer.Core.ContentReference> | EPiServer.Core.ContentReferences of the bundle entries. |