mardi 25 février 2020

Custom Attribute Named Arguments Not Populated

I have made an custom attribute, but I want to be able to pass a named arguments with it.

Here is the attribute below. enter image description here enter image description here

Everything looks alright to me, but every time I run it, the Roles property is equal to null. Any normal parameters I user with the attribute look fine.

I am using this in asp.net core 2.2

What am I missing?





Aucun commentaire:

Enregistrer un commentaire