void InsertItem(ICompletionItem item)
        {
            if (item == null)
            {
                throw new InvalidOperationException("ICompletionItem is null. Something is wrong with the hackish ItemClicked event.");
            }

            item.Insert();
        }
Example #2
0
 private void InsertItem(ICompletionItem item, CompletionPopupView view)
 {
     item.Insert();
     PopupActions.Hide(view);
 }