コード例 #1
0
 /// <summary>
 /// Constructs a new instance of <see cref="PythonInterpreter"/>.
 /// </summary>
 public PythonInterpreter()
 {
     _autocompleter = new Autocompleter(this);
     _typeLoader    = new TypeLoader(this);
     Reset();
     EchoEnabled = true;
 }
コード例 #2
0
 /// <summary>
 /// Constructs a new instance of <see cref="RoslynInterpreter"/>.
 /// </summary>
 public RoslynInterpreter()
 {
     _typeLoader    = new TypeLoader(this);
     _autocompleter = new Autocompleter(_typeLoader);
     Reset();
 }