mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
27 lines
No EOL
633 B
C#
27 lines
No EOL
633 B
C#
namespace Flow.Launcher.Plugin
|
|
{
|
|
public static class AllowedLanguage
|
|
{
|
|
public static string Python
|
|
{
|
|
get { return "PYTHON"; }
|
|
}
|
|
|
|
public static string CSharp
|
|
{
|
|
get { return "CSHARP"; }
|
|
}
|
|
|
|
public static string Executable
|
|
{
|
|
get { return "EXECUTABLE"; }
|
|
}
|
|
|
|
public static bool IsAllowed(string language)
|
|
{
|
|
return language.ToUpper() == Python.ToUpper()
|
|
|| language.ToUpper() == CSharp.ToUpper()
|
|
|| language.ToUpper() == Executable.ToUpper();
|
|
}
|
|
}
|
|
} |