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.0Syntax
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 | |
System.String | languageCode | |
System.Int32 | parentNodeId | |
System.Int32 | catalogId | |
System.Collections.Generic.IEnumerable<System.Int32> | entryIds | |
System.Collections.Generic.IEnumerable<System.Int32> | nodeIds |
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 |