Table of Contents

Class SetupUiCategoryModel

Namespace
LibreRally.HUD
Assembly
LibreRally.dll

Data model for a category of setup fields.

public sealed class SetupUiCategoryModel
Inheritance
SetupUiCategoryModel
Inherited Members

Constructors

SetupUiCategoryModel(string, string, string, string, IReadOnlyList<SetupUiFieldModel>)

Data model for a category of setup fields.

public SetupUiCategoryModel(string id, string title, string tagline, string description, IReadOnlyList<SetupUiFieldModel> fields)

Parameters

id string

The unique identifier for the category.

title string

The display title of the category.

tagline string

A short tagline for the category.

description string

A detailed description of the category.

fields IReadOnlyList<SetupUiFieldModel>

The list of fields in this category.

Properties

Description

Gets the detailed description of the category.

public string Description { get; }

Property Value

string

Fields

Gets the list of fields in this category.

public IReadOnlyList<SetupUiFieldModel> Fields { get; }

Property Value

IReadOnlyList<SetupUiFieldModel>

Id

Gets the unique identifier for the category.

public string Id { get; }

Property Value

string

NonDefaultChangeCount

Gets the number of fields that have non-default values in this category.

public int NonDefaultChangeCount { get; }

Property Value

int

PendingChangeCount

Gets the number of fields with pending changes in this category.

public int PendingChangeCount { get; }

Property Value

int

PendingLiveChangeCount

Gets the number of fields with pending live changes in this category.

public int PendingLiveChangeCount { get; }

Property Value

int

PendingReloadChangeCount

Gets the number of fields with pending reload changes in this category.

public int PendingReloadChangeCount { get; }

Property Value

int

Tagline

Gets the short tagline for the category.

public string Tagline { get; }

Property Value

string

Title

Gets the display title of the category.

public string Title { get; }

Property Value

string