mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-02 16:57:56 +08:00
21 lines
470 B
C#
21 lines
470 B
C#
|
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();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|