2
using System.Collections.Generic;
6
using ICSharpCode.NRefactory;
7
using ICSharpCode.PythonBinding;
9
namespace ICSharpCode.CodeConversion
11
public class PythonHelpers
13
public static bool Convert(SupportedLanguage inputLanguage, string ProvidedSource, out string ConvertedSource, out string ErrorMessage)
15
NRefactoryToPythonConverter converter = new
16
NRefactoryToPythonConverter(inputLanguage);
18
string convertedCode = converter.Convert(ProvidedSource);
20
ConvertedSource = convertedCode;