CodeRefactoringContext Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| CodeRefactoringContext(Document, TextSpan, Action<CodeAction>, CancellationToken) |
Erstellt einen Coderefactoringkontext, der an ComputeRefactoringsAsync(CodeRefactoringContext) die -Methode übergeben werden soll. |
| CodeRefactoringContext(TextDocument, TextSpan, Action<CodeAction>, CancellationToken) |
Erstellt einen Coderefactoringkontext, der an ComputeRefactoringsAsync(CodeRefactoringContext) die -Methode übergeben werden soll. |
CodeRefactoringContext(Document, TextSpan, Action<CodeAction>, CancellationToken)
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
Erstellt einen Coderefactoringkontext, der an ComputeRefactoringsAsync(CodeRefactoringContext) die -Methode übergeben werden soll.
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)
Parameter
- document
- Document
- span
- TextSpan
- registerRefactoring
- Action<CodeAction>
- cancellationToken
- CancellationToken
- Attribute
Gilt für:
CodeRefactoringContext(TextDocument, TextSpan, Action<CodeAction>, CancellationToken)
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
- Quelle:
- CodeRefactoringContext.cs
Erstellt einen Coderefactoringkontext, der an ComputeRefactoringsAsync(CodeRefactoringContext) die -Methode übergeben werden soll.
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)
Parameter
- document
- TextDocument
- span
- TextSpan
- registerRefactoring
- Action<CodeAction>
- cancellationToken
- CancellationToken