다음을 통해 공유


IIndexWorkspaceService.GetFilesDataValuesAsync<T> Method

Definition

Return a dictionary of data for multiple files

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string,System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Workspace.Indexing.FileDataResult<T>>>> GetFilesDataValuesAsync<T> (Guid type, System.Threading.CancellationToken cancellationToken = default, string target = default, string context = default);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string,System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Workspace.Indexing.FileDataResult<T>>>> GetFilesDataValuesAsync<T> (Guid type, System.Threading.CancellationToken cancellationToken = default, string? target = default, string? context = default);
abstract member GetFilesDataValuesAsync : Guid * System.Threading.CancellationToken * string * string -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string, System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Workspace.Indexing.FileDataResult<'T>>>>
Public Function GetFilesDataValuesAsync(Of T) (type As Guid, Optional cancellationToken As CancellationToken = Nothing, Optional target As String = Nothing, Optional context As String = Nothing) As Task(Of IReadOnlyDictionary(Of String, IReadOnlyList(Of FileDataResult(Of T))))

Type Parameters

T

Type of Value being expected

Parameters

type
Guid

The type of data being retrieved

cancellationToken
CancellationToken

Cancellation token

target
String

Target for the reference (or null)

context
String

Context for the reference (or null)

Returns

Dictionary with file and data

Applies to