다음을 통해 공유


CodeRefactoringContext 생성자

정의

오버로드

CodeRefactoringContext(Document, TextSpan, Action<CodeAction>, CancellationToken)

메서드에 전달할 코드 리팩터링 컨텍스트를 ComputeRefactoringsAsync(CodeRefactoringContext) 만듭니다.

CodeRefactoringContext(TextDocument, TextSpan, Action<CodeAction>, CancellationToken)

메서드에 전달할 코드 리팩터링 컨텍스트를 ComputeRefactoringsAsync(CodeRefactoringContext) 만듭니다.

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

적용 대상