Class ComponentSectionProperties
public class ComponentSectionProperties : IComponentProperties, IEnumerable<TextDisplayProperties>, IEnumerable
- Inheritance
-
ComponentSectionProperties
- Implements
- Inherited Members
Constructors
ComponentSectionProperties(IComponentSectionAccessoryProperties)
public ComponentSectionProperties(IComponentSectionAccessoryProperties accessory)
Parameters
accessory
IComponentSectionAccessoryProperties
ComponentSectionProperties(IComponentSectionAccessoryProperties, IEnumerable<TextDisplayProperties>)
public ComponentSectionProperties(IComponentSectionAccessoryProperties accessory, IEnumerable<TextDisplayProperties> components)
Parameters
accessory
IComponentSectionAccessoryPropertiescomponents
IEnumerable<TextDisplayProperties>
Properties
Accessory
public IComponentSectionAccessoryProperties Accessory { get; set; }
Property Value
ComponentType
Type of the component.
public ComponentType ComponentType { get; }
Property Value
Components
public IEnumerable<TextDisplayProperties> Components { get; set; }
Property Value
Id
Unique identifier for the component. Auto populated through increment if not provided.
public int? Id { get; set; }
Property Value
- int?
Methods
AddComponents(params TextDisplayProperties[])
public ComponentSectionProperties AddComponents(params TextDisplayProperties[] components)
Parameters
components
TextDisplayProperties[]
Returns
AddComponents(IEnumerable<TextDisplayProperties>)
public ComponentSectionProperties AddComponents(IEnumerable<TextDisplayProperties> components)
Parameters
components
IEnumerable<TextDisplayProperties>
Returns
WithAccessory(IComponentSectionAccessoryProperties)
public ComponentSectionProperties WithAccessory(IComponentSectionAccessoryProperties accessory)
Parameters
accessory
IComponentSectionAccessoryProperties
Returns
WithComponents(IEnumerable<TextDisplayProperties>)
public ComponentSectionProperties WithComponents(IEnumerable<TextDisplayProperties> components)
Parameters
components
IEnumerable<TextDisplayProperties>
Returns
WithId(int?)
public ComponentSectionProperties WithId(int? id)
Parameters
id
int?