1. Route

Class Route

Version: 21.x

Represents the route information of a Sitecore layout service response.

Inheritance
System.Object
Route
Implements
Namespace: Sitecore.LayoutService.Client.Response.Model
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
public class Route : FieldsReader, IFieldsReader

Constructors

Route()

Declaration
public Route()

Properties

DatabaseName

Gets or sets the name of the database.

Declaration
public string DatabaseName { get; set; }
Property Value
TypeDescription
System.String

DeviceId

Gets or sets the device ID.

Declaration
public string DeviceId { get; set; }
Property Value
TypeDescription
System.String

ItemId

Gets or sets the route item ID.

Declaration
public string ItemId { get; set; }
Property Value
TypeDescription
System.String

ItemLanguage

Gets or sets the item language.

Declaration
public string ItemLanguage { get; set; }
Property Value
TypeDescription
System.String

ItemVersion

Gets or sets the item version.

Declaration
public Nullable<int> ItemVersion { get; set; }
Property Value
TypeDescription
System.Nullable<System.Int32>

LayoutId

Gets or sets the layout ID.

Declaration
public string LayoutId { get; set; }
Property Value
TypeDescription
System.String

Name

Gets or sets the route name.

Declaration
public string Name { get; set; }
Property Value
TypeDescription
System.String

Placeholders

Gets or sets the route placeholders.

Declaration
public Dictionary<string, Placeholder> Placeholders { get; set; }
Property Value
TypeDescription
System.Collections.Generic.Dictionary<System.String, Placeholder>

TemplateId

Gets or sets the template ID.

Declaration
public string TemplateId { get; set; }
Property Value
TypeDescription
System.String

TemplateName

Gets or sets the template name.

Declaration
public string TemplateName { get; set; }
Property Value
TypeDescription
System.String

Implements

If you have suggestions for improving this article, let us know!