Class Component

Version: 21.x

Represents component information for a Sitecore layout service response.

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

Constructors

Component()

Declaration
RequestResponse
public Component()

Properties

DataSource

Gets or sets the datasource of the component.

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

Id

Gets or sets the ID of the component.

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

Name

Gets or sets the name of the component.

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

Parameters

Gets or sets the parameters for the component.

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

Placeholders

Gets or sets the placeholders for the component.

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

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,