B
bobben
Hi everybody.
I don't know if this is possible, but I am looking for a way to
automatically inject code.
I would like to fire a Debug.Writeline() automatically when a method is
invoked and when the method exists.
Anybody knows if this is at all possible? Or is any other variant possible ?
Is custom attributes a way to go?
Basically I want a similar behaviour as ServicedComponent class with its
[Autocomplete] attribute:
It does one thing if all goes well and another thing if exceptions occurs?
Any ideas anybody...
thank anyway!
Bobben
I don't know if this is possible, but I am looking for a way to
automatically inject code.
I would like to fire a Debug.Writeline() automatically when a method is
invoked and when the method exists.
Anybody knows if this is at all possible? Or is any other variant possible ?
Is custom attributes a way to go?
Basically I want a similar behaviour as ServicedComponent class with its
[Autocomplete] attribute:
It does one thing if all goes well and another thing if exceptions occurs?
Any ideas anybody...
thank anyway!
Bobben