public EditorScript Add(IEditorScript child) { if (_children == null) _children = new List<IEditorScript>(); _children.Add(child); return this; }
public async Task Execute(IEditorScript script) { this.SoapAction = script.Action; var text = await script.GetScript(); inputEditor.Document.Insert(0, text + Environment.NewLine + Environment.NewLine); if (script.AutoRun) Submit(text, script.PreferredOutput); }
public void Execute(IEditorScript script) { this.SoapAction = script.Action; inputEditor.Document.Insert(0, script.Script + Environment.NewLine + Environment.NewLine); if (script.AutoRun) Submit(script.Script, script.PreferredOutput); }
private void PrimeIntellisenseProviders(IEditorScript script) { // Prime variable provider UIThreadHelper.Instance.Invoke(() => { var broker = ExportProvider.GetExportedValue<ICompletionBroker>(); broker.TriggerCompletion(script.View); broker.DismissAllSessions(script.View); }); }