Table of Contents

Class UnitOption

Namespace
Tharga.Toolkit
Assembly
Tharga.Toolkit.Standard.dll

Represents the display options for a single time unit, including its value format and singular/plural labels.

public class UnitOption
Inheritance
UnitOption
Inherited Members
Extension Methods

Properties

PluralSign

Gets or sets the label to display when the value is plural (e.g., "days").

public string PluralSign { get; set; }

Property Value

string

SignularSign

Gets or sets the label to display when the value is singular (e.g., "day").

public string SignularSign { get; set; }

Property Value

string

Value

Gets or sets the format string used to display the numeric value for this unit.

public string Value { get; set; }

Property Value

string