Ejemplo n.º 1
0
        protected virtual void OnWordCompleted(CodeCompletionContextEventArgs e)
        {
            var handler = WordCompleted;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 2
0
        static void HandleWndWordCompleted(object sender, CodeCompletionContextEventArgs e)
        {
            EventHandler <CodeCompletionContextEventArgs> handler = WordCompleted;

            if (handler != null)
            {
                handler(sender, e);
            }
        }
Ejemplo n.º 3
0
		static void HandleWndWordCompleted (object sender, CodeCompletionContextEventArgs e)
		{
			EventHandler<CodeCompletionContextEventArgs> handler = WordCompleted;
			if (handler != null)
				handler (sender, e);
		}
Ejemplo n.º 4
0
 static void HandleWndWordCompleted(object sender, CodeCompletionContextEventArgs e)
 {
     WordCompleted?.Invoke(sender, e);
 }
Ejemplo n.º 5
0
        private void OnWordCompleted(object sender, CodeCompletionContextEventArgs e)
        {
            MyRoslynCompletionData completionData = (MyRoslynCompletionData)CompletionWindowManager.Wnd.SelectedItem;

            ItemCommitted?.Invoke(this, new CompletionItemEventArgs(completionData.CompletionItem));
        }