GeekArticles
Microsoft
Microsoft.NET


Use Arbitrary Parameters and Attribute Splatting in Blazor
In the previous article we discussed how parameters can be passed to Blazor component. In the examples discussed so far you created a fixed number of parameters (for example, Value parameter of the Message component) and assigned them some value from the parent component (Index.razor in our examples). What if you want to pass arbitrary number of parameters to a component? That means you the exact parameters at development time. The parent component (Index.razor) will set arbitrary parameters on a child component (Message.razor) when the child component is used. This article explores how this can be accomplished.
Sponsored Links
Read Next: Unified Concurrency III - Cross-benchmarking
Related Topics
Subscribe via RSS
Microsoft.NET
- Chapter 2: Protecting Your Database with Startup Options
- { End Bracket }: Hacking the Immune System
- C++ At Work: Copy Constructors, Assignment Operators, and More
- .NET Matters: Stream Decorator, Single-Instance Apps
- Security Briefs: Credentials and Delegation
- Design Patterns: Dependency Injection
- Test Run: Low-Level UI Test Automation
- Advanced Basics: Revisiting Operator Overloading
- Cutting Edge: ASP.NET Forms
- Web Q&A: Smart Navigation, ASP.NET Project Structure, and More