c# - Cool uses of Attributes or Annotations (CLR or Java)? -


There are some cool applications for custom attributes in the CLR / C # code that you have made or heard? Interesting new uses of standard features are also fine!

Edit: Because Java's comments are similar to the CLR's entrance, the use of Java annotations is also valid.

  • , which uses attributes to inject code (AOP)?
  • A custom runtime asset can be used to provide property models - either completely different attributes or maybe

and often with some core Ignored:

  • -
  • Automatically used to protect members

Comments