Esempio n. 1
0
        public MainWindow()
        {
            InitializeComponent();

            ConfigureEditor();

            _objects = new ObservableCollection<ResultObject>();
            Results.ItemsSource = _objects;

            ObjectExtensions.Dumped += o => _objects.Add(new ResultObject(o));

            _interactiveManager = new InteractiveManager();
            _interactiveManager.SetDocument(Editor.AsTextContainer());
            Editor.CompletionProvider = new RoslynCodeEditorCompletionProvider(_interactiveManager);
        }
 public RoslynCodeEditorCompletionProviderImpl(InteractiveManager interactiveManager) : base(interactiveManager)
 {
 }
 public RoslynCodeEditorCompletionProvider(InteractiveManager interactiveManager)
 {
     _interactiveManager = interactiveManager;
 }