CompositionSection

References
public sealed class CompositionSection
A named and organised collection of proxy slots.

Constructors

CompositionSection

#
Create a new section.
public CompositionSection(
name,
sortKey,
params CompositionSlot[]
slots
)

Properties

Name

#
Gets the name of this section.
public string Name { get; }

Slots

#
Iterate over all slots.
public CompositionSlot[] Slots { get; }

SortKey

#
Gets the sorting key for this section. If the sorting key is not specified, then the Name ought to be used for sorting.
public Prose.Text SortKey { get; }

Methods

Insert

#
Insert a collection of items into this section.

Remove

#
Remove all indicated items from this section.
public CompositionSection Remove(
selector,
Selector pattern.
list
All removed items will be appended to this list.
)

Convertors

OperationResultDescription
implicitCompositionItemCompositionSectionCreate a section with a single item.