mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
18 lines
478 B
C#
18 lines
478 B
C#
|
|
namespace LanMountainDesktop.PluginSdk;
|
||
|
|
|
||
|
|
public sealed class SettingsOptionChoice
|
||
|
|
{
|
||
|
|
public SettingsOptionChoice(string value, string titleLocalizationKey)
|
||
|
|
{
|
||
|
|
ArgumentException.ThrowIfNullOrWhiteSpace(value);
|
||
|
|
ArgumentException.ThrowIfNullOrWhiteSpace(titleLocalizationKey);
|
||
|
|
|
||
|
|
Value = value.Trim();
|
||
|
|
TitleLocalizationKey = titleLocalizationKey.Trim();
|
||
|
|
}
|
||
|
|
|
||
|
|
public string Value { get; }
|
||
|
|
|
||
|
|
public string TitleLocalizationKey { get; }
|
||
|
|
}
|