Get RAPTOR

RaptorSuiteSettingsSwitches.Switch

A registered switch (read-only).

NamespaceAssemblyKindStability
Raptor.EditorToolsRaptor.Editorclasspreview, since 0.1.0
public sealed class Switch

Properties

After

public IReadOnlyList<string> After { get; }

Gets the anchor titles in fallback order.

Description

public string Description { get; }

Gets a few words about the switch, shown as the row's tooltip.

Get

public Func<bool> Get { get; }

Gets the function that returns the switch state.

Group

public string Group { get; }

Gets the group on the Settings page.

Id

public string Id { get; }

Gets the switch's stable id.

Keywords

public string Keywords { get; }

Gets extra words the Settings search matches.

Section

public string Section { get; }

Gets the Settings page.

Set

public Action<bool> Set { get; }

Gets the function that sets the switch state.

Title

public string Title { get; }

Gets the row's title.