I'm trying to access the attributes of a custom Attribute (declarative tag) in a WCF web service. However, the client code for this is not working. I'm not able to do this for any of the instances of this custom attribute in the assembly. For example, the following code doesn't return anything:
Attribute.GetCustomAttributes(typeof(MyCustomAttribute).Module)
Any idea if I need to change the configuration of the custom attribute or if I need to use a different approach for loading the custom attribute values?
Aucun commentaire:
Enregistrer un commentaire