コード例 #1
0
ファイル: PythonReplEvaluator.cs プロジェクト: smallwave/PTVS
 public PythonReplEvaluator(IPythonInterpreterFactory interpreter, IServiceProvider serviceProvider, PythonReplEvaluatorOptions options, IInterpreterOptionsService interpreterService = null)
     : base(serviceProvider, serviceProvider.GetPythonToolsService(), options) {
     _interpreter = interpreter;
     _interpreterService = interpreterService;
     if (_interpreterService != null) {
         _interpreterService.InterpretersChanged += InterpretersChanged;
     }
 }
コード例 #2
0
 public PythonReplEvaluator(IPythonInterpreterFactory interpreter, IServiceProvider serviceProvider, PythonReplEvaluatorOptions options, IInterpreterOptionsService interpreterService = null)
     : base(serviceProvider, serviceProvider.GetPythonToolsService(), options)
 {
     _interpreter        = interpreter;
     _interpreterService = interpreterService;
     if (_interpreterService != null)
     {
         _interpreterService.InterpretersChanged += InterpretersChanged;
     }
 }
コード例 #3
0
 public PythonReplEvaluatorDontPersist(IPythonInterpreterFactory interpreter, IServiceProvider serviceProvider, PythonReplEvaluatorOptions options, IInterpreterOptionsService interpreterService) :
     base(interpreter, serviceProvider, options, interpreterService)
 {
 }
コード例 #4
0
 protected BasePythonReplEvaluator(IServiceProvider serviceProvider, PythonToolsService pyService, PythonReplEvaluatorOptions options) {
     _pyService = pyService;
     _options = options;
     _serviceProvider = serviceProvider;
 }
コード例 #5
0
ファイル: PythonReplEvaluator.cs プロジェクト: smallwave/PTVS
 public PythonReplEvaluatorDontPersist(IPythonInterpreterFactory interpreter, IServiceProvider serviceProvider, PythonReplEvaluatorOptions options, IInterpreterOptionsService interpreterService) :
     base(interpreter, serviceProvider, options, interpreterService) {
 }