mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 03:37:59 +01:00
* upgraded NetAnalyzers to 7.0.1 * fix spellcheck * Microsoft.CodeAnalysis.NetAnalyzers 7.0.1 * rebase and fix
32 lines
944 B
C#
32 lines
944 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.
|
|
|
|
namespace Microsoft.PowerToys.Run.Plugin.System.Components
|
|
{
|
|
internal sealed class SystemPluginContext
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the type of the result
|
|
/// </summary>
|
|
public ResultContextType Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the context data for the command/results
|
|
/// </summary>
|
|
public string Data { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets or sets an additional result name for searching
|
|
/// </summary>
|
|
public string SearchTag { get; set; } = string.Empty;
|
|
}
|
|
|
|
internal enum ResultContextType
|
|
{
|
|
Command, // Reserved for later usage
|
|
NetworkAdapterInfo,
|
|
RecycleBinCommand,
|
|
}
|
|
}
|