Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to disable (make an error) on ChildContent?

$
0
0

Consider this markup:

<MyComponent>  This is ChildContent</MyComponent>

It is all fine if MyComponent actually supports ChildContent, if not by default user/dev will be notified about this fact in runtime.

How to disable it, so it will become compile error?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>