Book a Demo

Author Topic: Attributes in .NET  (Read 5686 times)

ShimonSim

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Attributes in .NET
« on: February 21, 2005, 02:23:35 pm »
Is there a way to mark method with some tag that would be appear as attribute in code.
Is there any way to use "something" that would be used as [Attribute] (in C#) in code?

Thanks,
Shimon.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Attributes in .NET
« Reply #1 on: February 21, 2005, 03:58:13 pm »
There is.  Add a tagged value "Attribute" with the value "[Attribute]".  If you want multiple attributes appearing seperate them with a semi-colon.

Simon