Compartilhar via


CodeActionOperation.Apply(Workspace, CancellationToken) Método

Definição

Chamado pelo ambiente de host para aplicar o efeito da operação. Esse método tem a garantia de ser chamado no thread da interface do usuário.

public:
 virtual void Apply(Microsoft::CodeAnalysis::Workspace ^ workspace, System::Threading::CancellationToken cancellationToken);
public virtual void Apply (Microsoft.CodeAnalysis.Workspace workspace, System.Threading.CancellationToken cancellationToken);
abstract member Apply : Microsoft.CodeAnalysis.Workspace * System.Threading.CancellationToken -> unit
override this.Apply : Microsoft.CodeAnalysis.Workspace * System.Threading.CancellationToken -> unit
Public Overridable Sub Apply (workspace As Workspace, cancellationToken As CancellationToken)

Parâmetros

workspace
Workspace
cancellationToken
CancellationToken

Aplica-se a