PowerToys/Wox.Plugin/AllowedLanguage.cs

25 lines
529 B
C#
Raw Normal View History

2013-12-20 19:38:10 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
2014-01-29 18:33:24 +08:00
namespace Wox.Plugin
2013-12-20 19:38:10 +08:00
{
public static class AllowedLanguage
{
public static string Python
{
get { return "python"; }
}
public static string CSharp
{
get { return "csharp"; }
}
public static bool IsAllowed(string language)
{
return language.ToUpper() == Python.ToUpper() || language.ToUpper() == CSharp.ToUpper();
}
}
}