Share via


IIndexWorkspaceService2 Interface

Definition

Extension interface for for IIndexWorkspaceService

public interface class IIndexWorkspaceService2 : Microsoft::VisualStudio::Workspace::Indexing::IIndexWorkspaceService
public interface class IIndexWorkspaceService2 : Microsoft::VisualStudio::Workspace::Indexing::IIndexWorkspaceService
__interface IIndexWorkspaceService2 : Microsoft::VisualStudio::Workspace::Indexing::IIndexWorkspaceService
public interface IIndexWorkspaceService2 : Microsoft.VisualStudio.Workspace.Indexing.IIndexWorkspaceService
type IIndexWorkspaceService2 = interface
    interface IIndexWorkspaceService
Public Interface IIndexWorkspaceService2
Implements IIndexWorkspaceService
Derived
Implements

Properties

OnFileEntityChanged

File Entity changed notification

(Inherited from IIndexWorkspaceService)
OnFileScannerCacheInvalidate

File Scanner cache invalidation

(Inherited from IIndexWorkspaceService)
OnFileScannerCompleted

File Scanner notification

(Inherited from IIndexWorkspaceService)
OnPropertyChanged

To receive notifications when properties are changed

(Inherited from IIndexWorkspaceService)
State

Index Workspace state

(Inherited from IIndexWorkspaceService)

Methods

EntityExists(String)

Verify if a path is being part of this indexing

(Inherited from IIndexWorkspaceService)
FindFileReferencesAsync(String, CancellationToken, String, String, Int32[])

Find files in our File References using pattern match

GetAllFiles()

Get All files that are indexed

(Inherited from IIndexWorkspaceService)
GetDependentFilesAsync(String, String, String, Int32[])

Return dependent files on a file contained in our workspace

(Inherited from IIndexWorkspaceService)
GetFileDataValuesAsync<T>(String, Guid, Boolean, CancellationToken, String, String)

Return a enumerable of data from a File system entity

(Inherited from IIndexWorkspaceService)
GetFileReferencesAsync(IEnumerable<String>, CancellationToken)

Return FileReferences for a set of file entities

GetFileReferencesAsync(String, Boolean, CancellationToken, String, String, Int32[])

Return file references to a file contained in our workspace

(Inherited from IIndexWorkspaceService)
GetFilesAsync(String, CancellationToken)

Get Files from our entities with a pattern matching

(Inherited from IIndexWorkspaceService)
GetFileScannerCacheAsync(IEnumerable<String>, CancellationToken)

Return multiple file scanner cache

GetFileScannerCacheAsync(String, CancellationToken)

Return File scanner cache for an file entity

GetFileScannerState(String, FileScannerType)

Get the File scanner state type

(Inherited from IIndexWorkspaceService)
GetFilesDataValuesAsync<T>(Guid, CancellationToken, String, String)

Return a dictionary of data for multiple files

(Inherited from IIndexWorkspaceService)
GetSettingsValue<T>(String)

Get setting value

(Inherited from IIndexWorkspaceService)
InvalidateFileScannerCache()

Invalidate all the file scanner cache

(Inherited from IIndexWorkspaceService)
IsProviderUpToDateAsync(String, FileScannerEntityCache, CancellationToken)

Check if entity has a file scanner type up to date

PurgeFileScannerData(String, Guid)

Purge data for file entity

(Inherited from IIndexWorkspaceService)
PurgeFileScannerDataForProvider(Guid)

Purge all data produced by a provider

(Inherited from IIndexWorkspaceService)
PushEntityDataAsync(String, Guid, IndexEntityData, CancellationToken)

Push data into our indexing service

RefreshElementsAsync(IEnumerable<String>, IndexElement, CancellationToken)

Refresh an element

(Inherited from IIndexWorkspaceService)
RefreshElementsAsync(IndexElement, Boolean, IProgress<IndexProgress>, CancellationToken, PauseToken)

Refreshes the contents of any caches or subscriptions with the actual contents from disk.

(Inherited from IIndexWorkspaceService)
SetSettingsValue(String, Object)

Set a setting value

(Inherited from IIndexWorkspaceService)

Extension Methods

GetValuesByContextAsync<T>(IIndexWorkspaceService, String, Guid, Boolean, CancellationToken, String)

Retrieve data values as Dictionary using the context as the key

GetValuesByNameAsync<T>(IIndexWorkspaceService, String, Guid, Boolean, CancellationToken, String, String)

Retrieve data value as Dictionary data

RefreshElementAsync(IIndexWorkspaceService, String, IndexElement, CancellationToken)

Refresh an element

Applies to