Class ParentEvaluator
This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Finds information about the parent (catalog, node...) from the content link.
Inheritance
System.Object
ParentEvaluator
Namespace: EPiServer.Commerce.Catalog.Provider.Persistence
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0Syntax
public class ParentEvaluator : Object
Constructors
ParentEvaluator(ICatalogSystem, ReferenceConverter)
Initializes a new instance of the ParentEvaluator class.
Declaration
public ParentEvaluator(ICatalogSystem catalogContext, ReferenceConverter referenceConverter)
Parameters
| Type | Name | Description |
|---|---|---|
| ICatalogSystem | catalogContext | The catalog context. |
| ReferenceConverter | referenceConverter | The reference converter. |
Methods
GetParentInfo(ContentReference)
gets the parents info node or catalog parent and entry(in the case is based on a product)
Declaration
public virtual ParentsInfo GetParentInfo(ContentReference parentLink)
Parameters
| Type | Name | Description |
|---|---|---|
| EPiServer.Core.ContentReference | parentLink |
Returns
| Type | Description |
|---|---|
| ParentsInfo | The parents info |