Table of Contents

Class Route

Namespace
Sitecore.AspNetCore.SDK.LayoutService.Client.Response.Model
Assembly
Sitecore.AspNetCore.SDK.LayoutService.Client.dll

Represents the route information of a Sitecore layout service response.

public class Route : FieldsReader, IFieldsReader
Inheritance
Route
Implements
Inherited Members

Properties

DatabaseName

Gets or sets the name of the database.

public string? DatabaseName { get; set; }

Property Value

string

DeviceId

Gets or sets the device ID.

public string? DeviceId { get; set; }

Property Value

string

DisplayName

Gets or sets the route display name.

public string? DisplayName { get; set; }

Property Value

string

ItemId

Gets or sets the route item ID.

public string? ItemId { get; set; }

Property Value

string

ItemLanguage

Gets or sets the item language.

public string? ItemLanguage { get; set; }

Property Value

string

ItemVersion

Gets or sets the item version.

public int? ItemVersion { get; set; }

Property Value

int?

LayoutId

Gets or sets the layout ID.

public string? LayoutId { get; set; }

Property Value

string

Name

Gets or sets the route name.

public string? Name { get; set; }

Property Value

string

Placeholders

Gets the route placeholders.

public Dictionary<string, Placeholder> Placeholders { get; init; }

Property Value

Dictionary<string, Placeholder>

TemplateId

Gets or sets the template ID.

public string? TemplateId { get; set; }

Property Value

string

TemplateName

Gets or sets the template name.

public string? TemplateName { get; set; }

Property Value

string