CodeAction.Create 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
Create(String, ImmutableArray<CodeAction>, Boolean)
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
CodeAction 코드 작업 그룹을 나타내는 을 만듭니다.
public static Microsoft.CodeAnalysis.CodeActions.CodeAction Create (string title, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.CodeActions.CodeAction> nestedActions, bool isInlinable);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static Microsoft.CodeAnalysis.CodeActions.CodeAction Create (string title, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.CodeActions.CodeAction> nestedActions, bool isInlinable);
static member Create : string * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.CodeActions.CodeAction> * bool -> Microsoft.CodeAnalysis.CodeActions.CodeAction
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
static member Create : string * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.CodeActions.CodeAction> * bool -> Microsoft.CodeAnalysis.CodeActions.CodeAction
Public Shared Function Create (title As String, nestedActions As ImmutableArray(Of CodeAction), isInlinable As Boolean) As CodeAction
매개 변수
- title
- String
그룹의 제목입니다 CodeAction .
- nestedActions
- ImmutableArray<CodeAction>
그룹 내의 코드 동작입니다.
- isInlinable
- Boolean
true
그룹 구성원을 부모로 인라인할 수 있도록 하려면 입니다. 그렇지 않으면 false
이 그룹이 중첩된 작업이 있는 그룹으로 표시되도록 합니다.
반환
- 특성
적용 대상
Create(String, Func<CancellationToken,Task<Document>>, String)
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
단일 Document로 CodeAction 변경하기 위한 을 만듭니다. 변경 내용이 계산 비용이 많이 들고 요청될 때까지 연기해야 하는 경우 이 팩터리를 사용합니다.
public static Microsoft.CodeAnalysis.CodeActions.CodeAction Create (string title, Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document>> createChangedDocument, string equivalenceKey = default);
public static Microsoft.CodeAnalysis.CodeActions.CodeAction Create (string title, Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document>> createChangedDocument, string? equivalenceKey = default);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static Microsoft.CodeAnalysis.CodeActions.CodeAction Create (string title, Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document>> createChangedDocument, string? equivalenceKey);
static member Create : string * Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document>> * string -> Microsoft.CodeAnalysis.CodeActions.CodeAction
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
static member Create : string * Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document>> * string -> Microsoft.CodeAnalysis.CodeActions.CodeAction
Public Shared Function Create (title As String, createChangedDocument As Func(Of CancellationToken, Task(Of Document)), Optional equivalenceKey As String = Nothing) As CodeAction
Public Shared Function Create (title As String, createChangedDocument As Func(Of CancellationToken, Task(Of Document)), equivalenceKey As String) As CodeAction
매개 변수
- title
- String
의 제목입니다 CodeAction.
- createChangedDocument
- Func<CancellationToken,Task<Document>>
함수를 사용하여 를 만듭니다 Document.
- equivalenceKey
- String
다른 CodeAction와 의 CodeAction 동등성을 결정하는 데 사용되는 선택적 값입니다. EquivalenceKey을 참조하세요.
반환
- 특성
적용 대상
Create(String, Func<CancellationToken,Task<Solution>>, String)
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
CodeAction 내에서 둘 Document 이상의 변경에 대한 을 Solution만듭니다. 변경 내용이 계산 비용이 많이 들고 요청될 때까지 연기해야 하는 경우 이 팩터리를 사용합니다.
public static Microsoft.CodeAnalysis.CodeActions.CodeAction Create (string title, Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>> createChangedSolution, string equivalenceKey = default);
public static Microsoft.CodeAnalysis.CodeActions.CodeAction Create (string title, Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>> createChangedSolution, string? equivalenceKey = default);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static Microsoft.CodeAnalysis.CodeActions.CodeAction Create (string title, Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>> createChangedSolution, string? equivalenceKey);
static member Create : string * Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>> * string -> Microsoft.CodeAnalysis.CodeActions.CodeAction
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
static member Create : string * Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>> * string -> Microsoft.CodeAnalysis.CodeActions.CodeAction
Public Shared Function Create (title As String, createChangedSolution As Func(Of CancellationToken, Task(Of Solution)), Optional equivalenceKey As String = Nothing) As CodeAction
Public Shared Function Create (title As String, createChangedSolution As Func(Of CancellationToken, Task(Of Solution)), equivalenceKey As String) As CodeAction
매개 변수
- title
- String
의 제목입니다 CodeAction.
- createChangedSolution
- Func<CancellationToken,Task<Solution>>
함수를 사용하여 를 만듭니다 Solution.
- equivalenceKey
- String
다른 CodeAction와 의 CodeAction 동등성을 결정하는 데 사용되는 선택적 값입니다. EquivalenceKey을 참조하세요.
반환
- 특성
적용 대상
Create(String, ImmutableArray<CodeAction>, Boolean, CodeActionPriority)
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
CodeAction 코드 작업 그룹을 나타내는 을 만듭니다.
public static Microsoft.CodeAnalysis.CodeActions.CodeAction Create (string title, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.CodeActions.CodeAction> nestedActions, bool isInlinable, Microsoft.CodeAnalysis.CodeActions.CodeActionPriority priority = Microsoft.CodeAnalysis.CodeActions.CodeActionPriority.Default);
static member Create : string * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.CodeActions.CodeAction> * bool * Microsoft.CodeAnalysis.CodeActions.CodeActionPriority -> Microsoft.CodeAnalysis.CodeActions.CodeAction
Public Shared Function Create (title As String, nestedActions As ImmutableArray(Of CodeAction), isInlinable As Boolean, Optional priority As CodeActionPriority = Microsoft.CodeAnalysis.CodeActions.CodeActionPriority.Default) As CodeAction
매개 변수
- title
- String
그룹의 제목입니다 CodeAction .
- nestedActions
- ImmutableArray<CodeAction>
그룹 내의 코드 동작입니다.
- isInlinable
- Boolean
true
그룹 구성원을 부모로 인라인할 수 있도록 하려면 입니다. 그렇지 않으면 false
이 그룹이 중첩된 작업이 있는 그룹으로 표시되도록 합니다.
- priority
- CodeActionPriority
코드 작업의 우선 순위
반환
적용 대상
Create(String, Func<IProgress<CodeAnalysisProgress>,CancellationToken,Task<Document>>, String, CodeActionPriority)
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
public static Microsoft.CodeAnalysis.CodeActions.CodeAction Create (string title, Func<IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress>,System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document>> createChangedDocument, string? equivalenceKey = default, Microsoft.CodeAnalysis.CodeActions.CodeActionPriority priority = Microsoft.CodeAnalysis.CodeActions.CodeActionPriority.Default);
static member Create : string * Func<IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress>, System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document>> * string * Microsoft.CodeAnalysis.CodeActions.CodeActionPriority -> Microsoft.CodeAnalysis.CodeActions.CodeAction
Public Shared Function Create (title As String, createChangedDocument As Func(Of IProgress(Of CodeAnalysisProgress), CancellationToken, Task(Of Document)), Optional equivalenceKey As String = Nothing, Optional priority As CodeActionPriority = Microsoft.CodeAnalysis.CodeActions.CodeActionPriority.Default) As CodeAction
매개 변수
- title
- String
- createChangedDocument
- Func<IProgress<CodeAnalysisProgress>,CancellationToken,Task<Document>>
- equivalenceKey
- String
- priority
- CodeActionPriority
코드 작업 우선 순위
반환
적용 대상
Create(String, Func<IProgress<CodeAnalysisProgress>,CancellationToken,Task<Solution>>, String, CodeActionPriority)
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
CodeAction 내에서 둘 Document 이상의 변경에 대한 을 Solution만듭니다. 변경 내용이 계산 비용이 많이 들고 요청될 때까지 연기해야 하는 경우 이 팩터리를 사용합니다.
public static Microsoft.CodeAnalysis.CodeActions.CodeAction Create (string title, Func<IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress>,System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>> createChangedSolution, string? equivalenceKey = default, Microsoft.CodeAnalysis.CodeActions.CodeActionPriority priority = Microsoft.CodeAnalysis.CodeActions.CodeActionPriority.Default);
static member Create : string * Func<IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress>, System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>> * string * Microsoft.CodeAnalysis.CodeActions.CodeActionPriority -> Microsoft.CodeAnalysis.CodeActions.CodeAction
Public Shared Function Create (title As String, createChangedSolution As Func(Of IProgress(Of CodeAnalysisProgress), CancellationToken, Task(Of Solution)), Optional equivalenceKey As String = Nothing, Optional priority As CodeActionPriority = Microsoft.CodeAnalysis.CodeActions.CodeActionPriority.Default) As CodeAction
매개 변수
- title
- String
의 제목입니다 CodeAction.
- createChangedSolution
- Func<IProgress<CodeAnalysisProgress>,CancellationToken,Task<Solution>>
함수를 사용하여 를 만듭니다 Solution.
- equivalenceKey
- String
다른 CodeAction와 의 CodeAction 동등성을 결정하는 데 사용되는 선택적 값입니다. EquivalenceKey을 참조하세요.
- priority
- CodeActionPriority
반환
적용 대상
Create(String, Func<CancellationToken,Task<Document>>, String, CodeActionPriority)
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
단일 Document로 CodeAction 변경하기 위한 을 만듭니다. 변경 내용이 계산 비용이 많이 들고 요청될 때까지 연기해야 하는 경우 이 팩터리를 사용합니다.
public static Microsoft.CodeAnalysis.CodeActions.CodeAction Create (string title, Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document>> createChangedDocument, string? equivalenceKey = default, Microsoft.CodeAnalysis.CodeActions.CodeActionPriority priority = Microsoft.CodeAnalysis.CodeActions.CodeActionPriority.Default);
static member Create : string * Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document>> * string * Microsoft.CodeAnalysis.CodeActions.CodeActionPriority -> Microsoft.CodeAnalysis.CodeActions.CodeAction
Public Shared Function Create (title As String, createChangedDocument As Func(Of CancellationToken, Task(Of Document)), Optional equivalenceKey As String = Nothing, Optional priority As CodeActionPriority = Microsoft.CodeAnalysis.CodeActions.CodeActionPriority.Default) As CodeAction
매개 변수
- title
- String
의 제목입니다 CodeAction.
- createChangedDocument
- Func<CancellationToken,Task<Document>>
함수를 사용하여 를 만듭니다 Document.
- equivalenceKey
- String
다른 CodeAction와 의 CodeAction 동등성을 결정하는 데 사용되는 선택적 값입니다. EquivalenceKey을 참조하세요.
- priority
- CodeActionPriority
코드 작업 우선 순위
반환
적용 대상
Create(String, Func<CancellationToken,Task<Solution>>, String, CodeActionPriority)
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
CodeAction 내에서 둘 Document 이상의 변경에 대한 을 Solution만듭니다. 변경 내용이 계산 비용이 많이 들고 요청될 때까지 연기해야 하는 경우 이 팩터리를 사용합니다.
public static Microsoft.CodeAnalysis.CodeActions.CodeAction Create (string title, Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>> createChangedSolution, string? equivalenceKey = default, Microsoft.CodeAnalysis.CodeActions.CodeActionPriority priority = Microsoft.CodeAnalysis.CodeActions.CodeActionPriority.Default);
static member Create : string * Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>> * string * Microsoft.CodeAnalysis.CodeActions.CodeActionPriority -> Microsoft.CodeAnalysis.CodeActions.CodeAction
Public Shared Function Create (title As String, createChangedSolution As Func(Of CancellationToken, Task(Of Solution)), Optional equivalenceKey As String = Nothing, Optional priority As CodeActionPriority = Microsoft.CodeAnalysis.CodeActions.CodeActionPriority.Default) As CodeAction
매개 변수
- title
- String
의 제목입니다 CodeAction.
- createChangedSolution
- Func<CancellationToken,Task<Solution>>
함수를 사용하여 를 만듭니다 Solution.
- equivalenceKey
- String
다른 CodeAction와 의 CodeAction 동등성을 결정하는 데 사용되는 선택적 값입니다. EquivalenceKey을 참조하세요.
- priority
- CodeActionPriority
반환
적용 대상
.NET