Class Component

Version: 21.x

Represents component information for a Sitecore layout service response.

Inheritance

System.Object

FieldsReader

Component

Implements

IFieldsReader

IPlaceholderFeature

Inherited Members

FieldsReader.ReadField(String)

FieldsReader.TryReadField(String, TField)

FieldsReader.ReadFields()

FieldsReader.TryReadFields(T)

FieldsReader.ReadField(Type, String)

FieldsReader.TryReadField(Type, String, Object)

FieldsReader.TryReadFields(Type, Object)

FieldsReader.ReadFields(Type)

FieldsReader.HandleReadFields(Type)

FieldsReader.Fields

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
TypeDescription
System.String

Id

Gets or sets the ID of the component.

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

Name

Gets or sets the name of the component.

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

Parameters

Gets or sets the parameters for the component.

Declaration
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
public Dictionary<string, Placeholder> Placeholders { get; set; }
Property Value
TypeDescription
System.Collections.Generic.Dictionary

<

System.String

,

Placeholder

>

Implements

IFieldsReader

IPlaceholderFeature

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