FromViewAndBuffer() public static method

public static FromViewAndBuffer ( ITextView textView, ITextBuffer textBuffer, ICoreShell shell ) : ISuggestedActionsSource
textView ITextView
textBuffer ITextBuffer
shell ICoreShell
return ISuggestedActionsSource
 public ISuggestedActionsSource CreateSuggestedActionsSource(ITextView textView, ITextBuffer textBuffer)
 {
     return(RSuggestedActionSource.FromViewAndBuffer(textView, textBuffer, _shell));
 }
Example #2
0
 public ISuggestedActionsSource CreateSuggestedActionsSource(ITextView textView, ITextBuffer textBuffer)
 => textView.Properties.GetOrCreateSingletonProperty(() => RSuggestedActionSource.FromViewAndBuffer(textView, textBuffer, _shell));