private void OnInterpreterChanged(object sender, EventArgs e)
 {
     if (_factory != _optionsService.DefaultInterpreter)
     {
         _factory = _optionsService.DefaultInterpreter;
         InterpreterChanged?.Invoke(this, EventArgs.Empty);
     }
 }
示例#2
0
 private void OnInterpreterChanged(object sender, EventArgs e) => InterpreterChanged?.Invoke(this, EventArgs.Empty);