mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
25 lines
536 B
C#
25 lines
536 B
C#
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();
|
|
}
|
|
}
|
|
}
|