CodeRefactoringContext Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
CodeRefactoringContext(Document, TextSpan, Action<CodeAction>, CancellationToken) |
Crée un contexte de refactorisation du code à passer dans ComputeRefactoringsAsync(CodeRefactoringContext) la méthode. |
CodeRefactoringContext(TextDocument, TextSpan, Action<CodeAction>, CancellationToken) |
Crée un contexte de refactorisation du code à passer dans ComputeRefactoringsAsync(CodeRefactoringContext) la méthode. |
CodeRefactoringContext(Document, TextSpan, Action<CodeAction>, CancellationToken)
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
Crée un contexte de refactorisation du code à passer dans ComputeRefactoringsAsync(CodeRefactoringContext) la méthode.
public:
CodeRefactoringContext(Microsoft::CodeAnalysis::Document ^ document, Microsoft::CodeAnalysis::Text::TextSpan span, Action<Microsoft::CodeAnalysis::CodeActions::CodeAction ^> ^ registerRefactoring, System::Threading::CancellationToken cancellationToken);
public CodeRefactoringContext(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, Action<Microsoft.CodeAnalysis.CodeActions.CodeAction> registerRefactoring, System.Threading.CancellationToken cancellationToken);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public CodeRefactoringContext(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, Action<Microsoft.CodeAnalysis.CodeActions.CodeAction> registerRefactoring, System.Threading.CancellationToken cancellationToken);
new Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringContext : Microsoft.CodeAnalysis.Document * Microsoft.CodeAnalysis.Text.TextSpan * Action<Microsoft.CodeAnalysis.CodeActions.CodeAction> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringContext
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
new Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringContext : Microsoft.CodeAnalysis.Document * Microsoft.CodeAnalysis.Text.TextSpan * Action<Microsoft.CodeAnalysis.CodeActions.CodeAction> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringContext
Public Sub New (document As Document, span As TextSpan, registerRefactoring As Action(Of CodeAction), cancellationToken As CancellationToken)
Paramètres
- document
- Document
- span
- TextSpan
- registerRefactoring
- Action<CodeAction>
- cancellationToken
- CancellationToken
- Attributs
S’applique à
CodeRefactoringContext(TextDocument, TextSpan, Action<CodeAction>, CancellationToken)
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
Crée un contexte de refactorisation du code à passer dans ComputeRefactoringsAsync(CodeRefactoringContext) la méthode.
public CodeRefactoringContext(Microsoft.CodeAnalysis.TextDocument document, Microsoft.CodeAnalysis.Text.TextSpan span, Action<Microsoft.CodeAnalysis.CodeActions.CodeAction> registerRefactoring, System.Threading.CancellationToken cancellationToken);
new Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringContext : Microsoft.CodeAnalysis.TextDocument * Microsoft.CodeAnalysis.Text.TextSpan * Action<Microsoft.CodeAnalysis.CodeActions.CodeAction> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringContext
Public Sub New (document As TextDocument, span As TextSpan, registerRefactoring As Action(Of CodeAction), cancellationToken As CancellationToken)
Paramètres
- document
- TextDocument
- span
- TextSpan
- registerRefactoring
- Action<CodeAction>
- cancellationToken
- CancellationToken