using System.Collections.Generic;
namespace Flow.Launcher.Plugin.WindowsSettings.Classes
{
///
/// A windows setting
///
internal record WindowsSetting
{
///
/// Initializes a new instance of the class.
///
public WindowsSetting()
{
Name = string.Empty;
Area = string.Empty;
Command = string.Empty;
Type = string.Empty;
}
///
/// Gets or sets the name of this setting.
///
public string Name { get; set; }
///
/// Gets or sets the area of this setting.
///
public string Area { get; set; }
///
/// Gets or sets the command of this setting.
///
public string Command { get; set; }
private string type = string.Empty;
///
/// Gets or sets the type of the windows setting.
///
public string Type { get; set; }
///
/// Gets or sets the type display name of this setting.
///
public string? DisplayType { get; set; }
///
/// Gets or sets the alternative names of this setting.
///
public IEnumerable? AltNames { get; set; }
///
/// Gets or sets the Keywords names of this task link.
///
public IEnumerable>? Keywords { get; set; }
///
/// Gets or sets the Glyph of this setting
///
public GlyphInfo? IconGlyph { get; set; }
///
/// Gets or sets a additional note of this settings.
/// (e.g. why is not supported on your system)
///
public string? Note { get; set; }
///
/// Gets or sets the minimum need Windows build for this setting.
///
public uint? IntroducedInBuild { get; set; }
///
/// Gets or sets the Windows build since this settings is not longer present.
///
public uint? DeprecatedInBuild { get; set; }
}
}