public sealed record RunicRegionCollectionState : IEquatable<RunicRegionCollectionState> A region collection in a View's state (RunicRegionCollectionAttribute, region-collections/1): its regions in order and the selected index.
Parameters
RegionsThe regions, in the selection's order.
SelectedIndexThe index of the selected region, or
nullwhen there is no region.
Constructors
RunicRegionCollectionState
public RunicRegionCollectionState(IReadOnlyList<RunicRegionSlot> Regions, int? SelectedIndex) A region collection in a View's state (RunicRegionCollectionAttribute, region-collections/1): its regions in order and the selected index.
Parameters
RegionsThe regions, in the selection's order.
SelectedIndexThe index of the selected region, or
nullwhen there is no region.
Properties
Regions
public IReadOnlyList<RunicRegionSlot> Regions { get; init; } The regions, in the selection's order.
SelectedIndex
public int? SelectedIndex { get; init; } The index of the selected region, or null when there is no region.