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 EntryIdentityResolver

Class to resolve catalog entry code-id map.

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

Constructors

EntryIdentityResolver(ISynchronizedObjectInstanceCache, CatalogOptions)

Initializes a new instance of the EntryIdentityResolver class.

Declaration
public EntryIdentityResolver(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<Guid>)

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

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