mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
26 lines
655 B
C#
26 lines
655 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 Wox.Plugin
|
|
{
|
|
public static class AllowedLanguage
|
|
{
|
|
public static string CSharp
|
|
{
|
|
get { return "CSHARP"; }
|
|
}
|
|
|
|
public static string Executable
|
|
{
|
|
get { return "EXECUTABLE"; }
|
|
}
|
|
|
|
public static bool IsAllowed(string language)
|
|
{
|
|
return language.ToUpper() == CSharp.ToUpper()
|
|
|| language.ToUpper() == Executable.ToUpper();
|
|
}
|
|
}
|
|
}
|