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
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.Provider.Persistence
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
public class ParentEvaluator

Constructors

ParentEvaluator(ICatalogSystem, ReferenceConverter, CatalogContentLoader)

Initializes a new instance of the ParentEvaluator class.

Declaration
public ParentEvaluator(ICatalogSystem catalogContext, ReferenceConverter referenceConverter, CatalogContentLoader catalogContentLoader)
Parameters
Type Name Description
ICatalogSystem catalogContext

The catalog context.

ReferenceConverter referenceConverter

The reference converter.

CatalogContentLoader catalogContentLoader

The catalog content loader.

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