ICommandingTextBufferResolver.ResolveBuffersForCommand<TArgs> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Given a command type, resolves a list of text buffers on which a command should be executed.
public:
generic <typename TArgs>
where TArgs : Microsoft::VisualStudio::Text::Editor::Commanding::EditorCommandArgs System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Text::ITextBuffer ^> ^ ResolveBuffersForCommand();
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Text.ITextBuffer> ResolveBuffersForCommand<TArgs> () where TArgs : Microsoft.VisualStudio.Text.Editor.Commanding.EditorCommandArgs;
abstract member ResolveBuffersForCommand : unit -> seq<Microsoft.VisualStudio.Text.ITextBuffer> (requires 'Args :> Microsoft.VisualStudio.Text.Editor.Commanding.EditorCommandArgs)
Public Function ResolveBuffersForCommand(Of TArgs As EditorCommandArgs) () As IEnumerable(Of ITextBuffer)
Type Parameters
- TArgs
Command type.
Returns
A list of text buffers on which a command should be executed.