London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class EntryIdentityResolver

Class to resolve catalog entry code-id map.

Inheritance
System.Object
EntryIdentityResolver
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: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public class EntryIdentityResolver : CatalogIdentityResolver

Constructors

EntryIdentityResolver(ISynchronizedObjectInstanceCache)

Initializes a new instance of the EntryIdentityResolver class.

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

The cache.

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