6 types derived from SuggestedAction
Microsoft.CodeAnalysis.EditorFeatures.Wpf (6)
Suggestions\Copilot\FlavoredSuggestedAction.cs (1)
24
protected sealed class FlavoredSuggestedAction :
SuggestedAction
Suggestions\PreviewChanges\PreviewChangesSuggestedAction.cs (1)
18
private sealed partial class PreviewChangesSuggestedAction :
SuggestedAction
Suggestions\RefineUsingCopilot\RefineUsingCopilotSuggestedAction.cs (1)
24
private sealed partial class RefineUsingCopilotSuggestedAction :
SuggestedAction
Suggestions\SuggestedActions\AbstractFixAllSuggestedAction.cs (1)
20
internal abstract class AbstractFixAllSuggestedAction :
SuggestedAction
Suggestions\SuggestedActionWithNestedActions.cs (1)
23
internal sealed class SuggestedActionWithNestedActions :
SuggestedAction
Suggestions\SuggestedActionWithNestedFlavors.cs (1)
33
internal abstract partial class SuggestedActionWithNestedFlavors :
SuggestedAction
, ISuggestedActionWithFlavors
10 references to SuggestedAction
Microsoft.CodeAnalysis.EditorFeatures.Wpf (10)
Suggestions\Copilot\FlavoredSuggestedAction.cs (1)
38
public static
SuggestedAction
Create(SuggestedActionWithNestedFlavors suggestedAction, CodeAction codeAction)
Suggestions\PreviewChanges\PreviewChangesSuggestedAction.cs (1)
32
public static
SuggestedAction
Create(SuggestedActionWithNestedFlavors suggestedAction)
Suggestions\RefineUsingCopilot\RefineUsingCopilotSuggestedAction.cs (1)
38
public static async Task<
SuggestedAction
?> TryCreateAsync(SuggestedActionWithNestedFlavors suggestedAction, CancellationToken cancellationToken)
Suggestions\SuggestedActions\SuggestedAction.cs (4)
121
using var token = SourceProvider.OperationListener.BeginAsyncOperation($"{nameof(
SuggestedAction
)}.{nameof(Invoke)}");
287
=> Equals(other as
SuggestedAction
);
290
=> Equals(obj as
SuggestedAction
);
292
internal bool Equals(
SuggestedAction
otherSuggestedAction)
Suggestions\SuggestedActionWithNestedFlavors.cs (3)
118
using var _ = ArrayBuilder<
SuggestedAction
>.GetInstance(out var suggestedActions);
119
var
previewChangesAction = PreviewChangesSuggestedAction.Create(this);
122
var
refineUsingCopilotAction = await RefineUsingCopilotSuggestedAction.TryCreateAsync(this, cancellationToken).ConfigureAwait(false);