public ScriptSyntax[] GetSupportedTypes()
        {
            var preferredScriptSyntax = new [] { ScriptSyntaxHelper.GetPreferredScriptSyntaxForEnvironment() };
            var scriptSyntaxesSupportedOnAllPlatforms = new[] { ScriptSyntax.PowerShell, ScriptSyntax.CSharp, ScriptSyntax.FSharp, ScriptSyntax.Python };

            return(preferredScriptSyntax.Concat(scriptSyntaxesSupportedOnAllPlatforms).Distinct().ToArray());
        }
Exemple #2
0
 public ScriptSyntax[] GetSupportedTypes()
 {
     return(ScriptSyntaxHelper.GetPreferenceOrderedScriptSyntaxesForEnvironment());
 }