Class NodeIdentityResolver
Class to resolve catalog node code-id map.
Inheritance
System.Object
NodeIdentityResolver
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
public class NodeIdentityResolver : CatalogIdentityResolver
Constructors
Declaration
public NodeIdentityResolver(ISynchronizedObjectInstanceCache cache, CatalogOptions catalogOptions)
Parameters
Type |
Name |
Description |
EPiServer.Framework.Cache.ISynchronizedObjectInstanceCache |
cache |
The cache.
|
CatalogOptions |
catalogOptions |
The catalog options.
|
Properties
Declaration
protected override string CachePrefix { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Methods
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
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