/* EXECUTION */ public void GetList(HaXeCompletionResultHandler callback) { PluginBase.MainForm.CallCommand("Save", null); ThreadPool.QueueUserWorkItem(_ => { Status = ParseLines(handler.GetCompletion(BuildHxmlArgs())); Notify(callback); }); }
/* EXECUTION */ public void GetList(HaXeCompletionResultHandler callback) { PluginBase.MainForm.CallCommand("Save", null); ThreadPool.QueueUserWorkItem(_ => { Status = ParseLines(handler.GetCompletion(BuildHxmlArgs())); Notify(callback); }); }
public void getList(HaXeCompletionResultHandler callback) { PluginBase.MainForm.CallCommand("Save", null); ThreadPool.QueueUserWorkItem(_ => { ArrayList lines = parseLines(handler.GetCompletion(buildHxmlArgs())); notify(callback, lines); }); }
public void getList(HaXeCompletionResultHandler callback) { PluginBase.MainForm.CallCommand("Save", null); ThreadPool.QueueUserWorkItem(_ => { ArrayList lines = parseLines(handler.GetCompletion(buildHxmlArgs())); notify(callback, lines); }); }
void Notify(HaXeCompletionResultHandler callback) { if (Sci.InvokeRequired) { Sci.BeginInvoke((MethodInvoker) delegate { Notify(callback); }); return; } callback(this, Status); }
void Notify(HaXeCompletionResultHandler callback) { if (Sci.InvokeRequired) { Sci.BeginInvoke((MethodInvoker)delegate { Notify(callback); }); return; } callback(this, Status); }
private void notify(HaXeCompletionResultHandler callback, ArrayList lines) { if (sci.InvokeRequired) { sci.BeginInvoke((MethodInvoker)delegate { notify(callback, lines); }); return; } callback(this, lines); }
private void notify(HaXeCompletionResultHandler callback, ArrayList lines) { if (sci.InvokeRequired) { sci.BeginInvoke((MethodInvoker) delegate { notify(callback, lines); }); return; } callback(this, lines); }