Skip to content

Implement ArgumentProvider base type and default provider#49909

Merged
sharwell merged 1 commit intodotnet:masterfrom
sharwell:argument-provider
Dec 15, 2020
Merged

Implement ArgumentProvider base type and default provider#49909
sharwell merged 1 commit intodotnet:masterfrom
sharwell:argument-provider

Conversation

@sharwell
Copy link
Contributor

This pull request implements the trivial base provider for supporting #12363.

@sharwell sharwell requested a review from a team as a code owner December 10, 2020 19:31

public override Task ProvideArgumentAsync(ArgumentContext context)
{
if (context.PreviousValue is { })
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use is not null?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No objection, but left it like this to expedite reviews on #49916.

@sharwell sharwell merged commit ab66022 into dotnet:master Dec 15, 2020
@sharwell sharwell deleted the argument-provider branch December 15, 2020 21:07
@ghost ghost added this to the Next milestone Dec 15, 2020
@dibarbet dibarbet modified the milestones: Next, 16.9.P3 Dec 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants