Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection initialization support for ModalParameters #375

Merged

Conversation

MichelJansson
Copy link
Contributor

This PR Closes #373

  • Implemented IEnumerable that exposes the underlying dictionary enumerator, which enables the use of collection initializers.
  • Updated samples to use initializer.
  • Fixed/updated code-section of the samples to match.

- Updated samples to use initializer
Copy link
Member

@chrissainty chrissainty left a comment

Choose a reason for hiding this comment

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

This is great, thank you @MichelJansson. My apologies for not getting this approved sooner.

@chrissainty chrissainty added the Feature New feature that will be added to the project label Mar 5, 2022
@chrissainty chrissainty merged commit b0f244a into Blazored:main Mar 5, 2022
@MichelJansson MichelJansson deleted the feature/modalparam-collection-init branch March 11, 2022 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature that will be added to the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] ModalParameters to support collection initialization
2 participants