Skip to content

Replace CompletionDelegate with Action<CompletionContext> #1927

@jonsequitur

Description

@jonsequitur
namespace System.CommandLine.Completions
{
    // This is syntactically the same as Action<CompletionContext>, so adding a new delegate type is discouraged.
    // Unless you think you need the type to exists as a place to put documentation.
    public delegate IEnumerable<CompletionItem> CompletionDelegate(CompletionContext context);

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions