Condividi tramite


UpdateExtensions.RunCustomToolAsync Method

Definition

Overloads

RunCustomToolAsync(IAsyncQueryable<IFileSnapshot>, CancellationToken)

Runs the custom code generator for files.

RunCustomToolAsync(IFileSnapshot, CancellationToken)

Runs the custom code generator for a single file.

RunCustomToolAsync(IAsyncQueryable<IFileSnapshot>, CancellationToken)

Runs the custom code generator for files.

public static System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot>> RunCustomToolAsync (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> files, System.Threading.CancellationToken cancellationToken);
static member RunCustomToolAsync : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot>>
<Extension()>
Public Function RunCustomToolAsync (files As IAsyncQueryable(Of IFileSnapshot), cancellationToken As CancellationToken) As Task(Of IQueryResults(Of IFileSnapshot))

Parameters

files
IAsyncQueryable<IFileSnapshot>

A collection of the source files.

cancellationToken
CancellationToken

A cancellation token to abort the operation.

Returns

A task which is completed when the operation is completed.

Applies to

RunCustomToolAsync(IFileSnapshot, CancellationToken)

Runs the custom code generator for a single file.

public static System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot>> RunCustomToolAsync (this Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot file, System.Threading.CancellationToken cancellationToken);
static member RunCustomToolAsync : Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot>>
<Extension()>
Public Function RunCustomToolAsync (file As IFileSnapshot, cancellationToken As CancellationToken) As Task(Of IQueryResults(Of IFileSnapshot))

Parameters

file
IFileSnapshot

A single source file.

cancellationToken
CancellationToken

A cancellation token to abort the operation.

Returns

A task which is completed when the operation is completed.

Applies to