다음을 통해 공유


SymbolScannerBase.ScanSymbolsAsync(TextReader, CancellationToken) Method

Definition

perform a symbol scanning on a file content

protected:
 abstract System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyCollection<Microsoft::VisualStudio::Workspace::Indexing::SymbolDefinition ^> ^> ^ ScanSymbolsAsync(System::IO::TextReader ^ sourceFileContent, System::Threading::CancellationToken cancellationToken);
protected abstract System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Indexing.SymbolDefinition>> ScanSymbolsAsync (System.IO.TextReader sourceFileContent, System.Threading.CancellationToken cancellationToken);
abstract member ScanSymbolsAsync : System.IO.TextReader * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Indexing.SymbolDefinition>>
Protected MustOverride Function ScanSymbolsAsync (sourceFileContent As TextReader, cancellationToken As CancellationToken) As Task(Of IReadOnlyCollection(Of SymbolDefinition))

Parameters

sourceFileContent
TextReader

the content of source file

cancellationToken
CancellationToken

a cancellation token

Returns

Symbols found during scanning

Applies to