Method AddSection
AddSection(Section)
Adds a section to the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance.
public T AddSection(Section section)
Parameters
section
SectionThe section to add.
Returns
- T
The builder instance.
AddSection<TSection>(DomSectionBuilder<TSection>)
Adds a section to the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance using a section builder.
public T AddSection<TSection>(DomSectionBuilder<TSection> sectionBuilder) where TSection : DomSectionBuilder<TSection>
Parameters
sectionBuilder
DomSectionBuilder<TSection>The section builder to add.
Returns
- T
The builder instance.
Type Parameters
TSection
The type of the section builder.
AddSection(SectionDefinitionID, Action<DomSectionBuilder>)
Adds a section to the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance using a section definition ID and a builder action.
public T AddSection(SectionDefinitionID sectionDefinitionID, Action<DomSectionBuilder> builder)
Parameters
sectionDefinitionID
SectionDefinitionIDThe section definition ID to create a section with.
builder
Action<DomSectionBuilder>The builder action to configure the section.
Returns
- T
The builder instance.