CodeRefactoringContext 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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
메서드에 전달할 코드 리팩터링 컨텍스트를 ComputeRefactoringsAsync(CodeRefactoringContext) 만듭니다.
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)
매개 변수
- document
- Document
- span
- TextSpan
- registerRefactoring
- Action<CodeAction>
- cancellationToken
- CancellationToken
- 특성
적용 대상
CodeRefactoringContext(TextDocument, TextSpan, Action<CodeAction>, CancellationToken)
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
- Source:
- CodeRefactoringContext.cs
메서드에 전달할 코드 리팩터링 컨텍스트를 ComputeRefactoringsAsync(CodeRefactoringContext) 만듭니다.
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)
매개 변수
- document
- TextDocument
- span
- TextSpan
- registerRefactoring
- Action<CodeAction>
- cancellationToken
- CancellationToken
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET