Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class NodeIdentityResolver

Class to resolve catalog node code-id map.

Inheritance
System.Object
NodeIdentityResolver
Namespace: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class NodeIdentityResolver : CatalogIdentityResolver

Constructors

NodeIdentityResolver(ISynchronizedObjectInstanceCache, CatalogOptions)

Initializes a new instance of the NodeIdentityResolver class.

Declaration
public NodeIdentityResolver(ISynchronizedObjectInstanceCache cache, CatalogOptions catalogOptions)
Parameters
Type Name Description
EPiServer.Framework.Cache.ISynchronizedObjectInstanceCache cache

The cache.

CatalogOptions catalogOptions

The catalog options.

Properties

CachePrefix

Declaration
protected override string CachePrefix { get; }
Property Value
Type Description
System.String
Overrides

Methods

GetCodes(IEnumerable<Int32>)

Declaration
protected override IDictionary<int, string> GetCodes(IEnumerable<int> ids)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Int32> ids
Returns
Type Description
System.Collections.Generic.IDictionary<System.Int32, System.String>
Overrides

GetIds(IEnumerable<String>)

Declaration
protected override IDictionary<string, int> GetIds(IEnumerable<string> codes)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> codes
Returns
Type Description
System.Collections.Generic.IDictionary<System.String, System.Int32>
Overrides