User Tools

Site Tools


notes:csharp:attributes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
notes:csharp:attributes [2019/01/31]
leszek
notes:csharp:attributes [2019/01/31]
leszek
Line 19: Line 19:
   * Use the static members of the //​Attribute//​ class such as //​Attribute.IsDefined//​.   * Use the static members of the //​Attribute//​ class such as //​Attribute.IsDefined//​.
  
-You can specify multiple ''​{{Conditional}}''​ attributes. They are combined with OR:+You can specify multiple ''​%%Conditional%%''​ attributes. They are combined with OR:
 <code csharp> <code csharp>
 [Conditional("​DEBUG"​),​ Conditional("​TRACE"​)] [Conditional("​DEBUG"​),​ Conditional("​TRACE"​)]
notes/csharp/attributes.txt ยท Last modified: 2019/01/31 by leszek