November Happy Hour will be moved to Thursday December 5th.

Class NodeIdentityResolver

Class to resolve catalog node code-id map.

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

Constructors

NodeIdentityResolver(ISynchronizedObjectInstanceCache)

Initializes a new instance of the NodeIdentityResolver class.

Declaration
[Obsolete("Use other constructor. Will remain at least until July 2021.")]
public NodeIdentityResolver(ISynchronizedObjectInstanceCache cache)
Parameters
Type Name Description
EPiServer.Framework.Cache.ISynchronizedObjectInstanceCache cache

The cache.

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