RunicRegionSlot record

Namespace Runic.Application.Testing in Runic.Application.Testing 0.23.0

public sealed record RunicRegionSlot : IEquatable<RunicRegionSlot>

Inherits or implements IEquatable.

One region of a region collection in a View's state (RunicRegionCollectionAttribute).

Parameters

Key

The region's key, which SelectRegionAsync and CloseRegionAsync name.

Content

The region's current content, or null while the region is empty.

Constructors

RunicRegionSlot

public RunicRegionSlot(string Key, PageReference? Content)

One region of a region collection in a View's state (RunicRegionCollectionAttribute).

Parameters

Key

The region's key, which SelectRegionAsync and CloseRegionAsync name.

Content

The region's current content, or null while the region is empty.

Properties

Content

public PageReference? Content { get; init; }

The region's current content, or null while the region is empty.

Key

public string Key { get; init; }

The region's key, which SelectRegionAsync and CloseRegionAsync name.