public PythonInteractiveOptionsControl(IServiceProvider serviceProvider)
 {
     _serviceProvider = serviceProvider;
     _options         = _serviceProvider?.GetPythonToolsService().InteractiveOptions;
     InitializeComponent();
     UpdateSettings();
 }
 internal void SaveOptions(IPythonInterpreterFactory interpreter, PythonInteractiveOptions options) {
     options.Save(interpreter);
 }
 internal void SaveOptions(string id, PythonInteractiveOptions options)
 {
     options.Save(id);
 }
示例#4
0
 internal void SaveOptions(IPythonInterpreterFactory interpreter, PythonInteractiveOptions options)
 {
     options.Save(interpreter);
 }
 public PythonInteractiveOptionsControl(IServiceProvider serviceProvider) {
     _serviceProvider = serviceProvider;
     _options = _serviceProvider?.GetPythonToolsService().InteractiveOptions;
     InitializeComponent();
     UpdateSettings();
 }