Show / Hide Table of Contents

Class Component

Represents component information for a Sitecore layout service response.

Inheritance
System.Object
FieldsReader
Component
Implements
IFieldsReader
IPlaceholderFeature
Inherited Members
FieldsReader.ReadField<TField>(String)
FieldsReader.TryReadField<TField>(String, TField)
FieldsReader.ReadFields<T>()
FieldsReader.TryReadFields<T>(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
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>

Implements

IFieldsReader
IPlaceholderFeature
Back to top Generated by DocFX