Tech Tutorials Database
GeekArticles Microsoft Microsoft.NET
 

Use Arbitrary Parameters and Attribute Splatting in Blazor

 
Author: dotnetbips.com
Category: Microsoft.NET
Comments (0)

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.

Read More...




Sponsored Links




Read Next: Unified Concurrency III - Cross-benchmarking



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification:�
 
 Subscribe