mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
76 lines
2.3 KiB
C#
76 lines
2.3 KiB
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using System.Collections.Generic;
|
|
|
|
namespace Flow.Launcher.Plugin.WindowsSettings.Classes
|
|
{
|
|
/// <summary>
|
|
/// A windows setting
|
|
/// </summary>
|
|
internal record WindowsSetting
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="WindowsSetting"/> class.
|
|
/// </summary>
|
|
public WindowsSetting()
|
|
{
|
|
Name = string.Empty;
|
|
Area = string.Empty;
|
|
Command = string.Empty;
|
|
Type = string.Empty;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets the name of this setting.
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the area of this setting.
|
|
/// </summary>
|
|
public string Area { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the command of this setting.
|
|
/// </summary>
|
|
public string Command { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the type of the windows setting.
|
|
/// </summary>
|
|
public string Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the alternative names of this setting.
|
|
/// </summary>
|
|
public IEnumerable<string>? AltNames { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Keywords names of this task link.
|
|
/// </summary>
|
|
public IEnumerable<IEnumerable<string>>? Keywords { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Ghyph of this setting
|
|
/// </summary>
|
|
public string? glyph { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a additional note of this settings.
|
|
/// <para>(e.g. why is not supported on your system)</para>
|
|
/// </summary>
|
|
public string? Note { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the minimum need Windows build for this setting.
|
|
/// </summary>
|
|
public uint? IntroducedInBuild { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Windows build since this settings is not longer present.
|
|
/// </summary>
|
|
public uint? DeprecatedInBuild { get; set; }
|
|
}
|
|
}
|