Attribute syntax
Attribute syntax consists of several key components. An attribute
declaration starts with Attribute names and their arguments are resolved to a class, and the arguments are passed to its constructor when an instance of the attribute is requested through the Reflection API. Therefore, it is recommended to introduce a class for each attribute. Example #1 Attribute Syntax
|