Class Component
Represents component information for a Sitecore layout service response.
Inherited Members
Namespace: Sitecore.LayoutService.Client.Response.Model
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
public class Component : FieldsReader, IFieldsReader, IPlaceholderFeature
Constructors
Component()
Declaration
public Component()
Properties
DataSource
Gets or sets the datasource of the component.
Declaration
public string DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Gets or sets the ID of the component.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets the name of the component.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Parameters
Gets or sets the parameters for the component.
Declaration
public Dictionary<string, string> Parameters { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> |
Placeholders
Gets or sets the placeholders for the component.
Declaration
public Dictionary<string, Placeholder> Placeholders { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, Placeholder> |