Re: compile-time error generating custom attributes

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I could have used simply interfaces but I need more info on the members
such as descriptions, and other things.

Define interfaces.
Define attributes.... do both.

The implementation class can be discovered dynamically using reflection (say
from config files).
Use the reference to the implementation for all uses. Whenever required,
reflect on the class to find attribute values.


--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.org
http://www.edujini.in | http://webservices.edujini.in
-------------------


.



Relevant Pages

  • Accessing Interfaces
    ... I was wondering what is the best way to access methods when using ... The other access the implementation class ... interInterfaceExample: IInterfaceExample; ...
    (comp.lang.pascal.delphi.misc)
  • Re: Remoting a Reflected Object
    ... actually you can use interfaces - its just tricky to create the object ... an Interface cannot be inherited from MarshalByRefObj rite? ... > But May be I should inherit the Implementation class from MarshalByRefObj ...
    (microsoft.public.dotnet.framework.remoting)