Share via


IFileScanner Interface

Definition

Offers services to discover symbols defined in source files.

public interface class IFileScanner
public interface class IFileScanner
__interface IFileScanner
public interface IFileScanner
type IFileScanner = interface
Public Interface IFileScanner
Derived

Remarks

An implementing type should export this interface with the ExportFileScannerAttribute. Each instance of this interface should be prepared to deal with just one file type. If a single scanner advertises multiple IFileSelectorMetadata, it should be prepared to identify which file type it is (if necessary) based solely on the content of the file and not the file name. If the file extension is an important distinguishing factor, use multiple instances of this interface, each advertising support for the various file extensions.

Methods

ScanContentAsync<T>(String, CancellationToken)

Scan a source file for symbol definitions.

Applies to