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 UriSegmentConflict

Represents a conflict in UriSegment under the same parent in the same language, e.g. items that would have identical routes when using hierarchical routes.

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

Constructors

UriSegmentConflict(String, String, Int32, Int32, IEnumerable<Int32>, IEnumerable<Int32>)

Creates a new instance of UriSegmentConflict.

Declaration
public UriSegmentConflict(string uriSegment, string languageCode, int parentNodeId, int catalogId, IEnumerable<int> entryIds, IEnumerable<int> nodeIds)
Parameters
Type Name Description
System.String uriSegment

UriSegment.

System.String languageCode

LanguageCode.

System.Int32 parentNodeId

ParentNodeId.

System.Int32 catalogId

CatalogId.

System.Collections.Generic.IEnumerable<System.Int32> entryIds

EntryIds

System.Collections.Generic.IEnumerable<System.Int32> nodeIds

UriSegmentConflict

Properties

CatalogId

The ID of the catalog where there is a conflict.

Declaration
public int CatalogId { get; }
Property Value
Type Description
System.Int32

EntryIds

The IDs of the entries that are in conflict, with each other or with NodeIds.

Declaration
public IEnumerable<int> EntryIds { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Int32>

LanguageCode

The language in which there is a conflict.

Declaration
public string LanguageCode { get; }
Property Value
Type Description
System.String

NodeIds

The IDs of the nodes that are in conflict, with each other or with EntryIds.

Declaration
public IEnumerable<int> NodeIds { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Int32>

ParentNodeId

The ID of the node where there is a conflict. It will be 0 if the conflict is in the catalog itself.

Declaration
public int ParentNodeId { get; }
Property Value
Type Description
System.Int32

UriSegment

The uri segment that has conflicts.

Declaration
public string UriSegment { get; }
Property Value
Type Description
System.String