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)); }
public ISuggestedActionsSource CreateSuggestedActionsSource(ITextView textView, ITextBuffer textBuffer) => textView.Properties.GetOrCreateSingletonProperty(() => RSuggestedActionSource.FromViewAndBuffer(textView, textBuffer, _shell));