PowerToys/Wox.Plugin/AllowedLanguage.cs
2015-10-30 23:23:01 +00:00

27 lines
623 B
C#

namespace Wox.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();
}
}
}