Class Component
- Namespace
- Sitecore.AspNetCore.SDK.LayoutService.Client.Response.Model
- Assembly
- Sitecore.AspNetCore.SDK.LayoutService.Client.dll
Represents component information for a Sitecore layout service response.
public class Component : FieldsReader, IFieldsReader, IPlaceholderFeature- Inheritance
- 
      
      
      Component
- Implements
- Inherited Members
Properties
DataSource
Gets or sets the datasource of the component.
public string DataSource { get; set; }Property Value
Id
Gets or sets the ID of the component.
[DataMember(Name = "uid")]
[JsonPropertyName("uid")]
public string Id { get; set; }Property Value
Name
Gets or sets the name of the component.
[DataMember(Name = "componentName")]
[JsonPropertyName("componentName")]
public string Name { get; set; }Property Value
Parameters
Gets the parameters for the component.
[DataMember(Name = "params")]
[JsonPropertyName("params")]
public Dictionary<string, string> Parameters { get; init; }Property Value
Placeholders
Gets the placeholders for the component.
public Dictionary<string, Placeholder> Placeholders { get; init; }