regular commit

This commit is contained in:
qianlifeng
2013-12-20 19:38:10 +08:00
parent c8fca3d63f
commit f25f4f7dc8
17 changed files with 489 additions and 11 deletions

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WinAlfred.Plugin
{
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();
}
}
}