mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-15 04:03:07 +08:00
a88d66b48b
* Added CustomAction Data Models * Updated data model * Updated Button command trigger for keyboard manager * Integerated custom actions in Keyboard manager module backend * Allow Runner to launch windows on foreground * Refactor and moved the execution logic to background thread * Removed non-required unlock calls * Fixed typo * Resolve PR comments
18 lines
519 B
C#
18 lines
519 B
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.Text.Json.Serialization;
|
|
|
|
namespace Microsoft.PowerToys.Settings.UI.Lib.CustomAction
|
|
{
|
|
public class CustomActionDataModel
|
|
{
|
|
[JsonPropertyName("action_name")]
|
|
public string Name { get; set; }
|
|
|
|
[JsonPropertyName("value")]
|
|
public string Value { get; set; }
|
|
}
|
|
}
|