Skip to content

Rename parameters to align on the word "completion" #1898

Closed

Description

@jonsequitur
        // Why is this one "values" and the other two are "complete"?
        // Since the method is called "AddCompletions" I'd expect things to be called a "completion".
        public static TArgument AddCompletions<TArgument>(this TArgument argument, string[] values);
        public static TArgument AddCompletions<TArgument>(this TArgument argument, Func<CompletionContext,IEnumerable<string>> complete);
        public static TArgument AddCompletions<TArgument>(this TArgument argument, CompletionDelegate complete);

Activity

  1. added
    Area-Completions
    on Nov 2, 2022
  2. self-assigned this
    on Nov 4, 2022
  3. added this to the 2.0 GA milestone on Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area-APIArea-Completions

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions