Hi All,
I would like to apply an Attribute to particular calls to a particular method I've written, and then, inside the called method, detect whether or not the Attrubute was applied.
In terms of the background, I'm working on a library that publicly exposes a couple of functions A and B, but B is also called from A itself. I need to detect, in B, if the method was invoked from A or elsewhere.
I don't want to do this using optional parameters etc because this would be exposed in the public interface to my class.
Erm, help anyone? Just a quick pointer in the right direction would be a big help...
mmilan
I would like to apply an Attribute to particular calls to a particular method I've written, and then, inside the called method, detect whether or not the Attrubute was applied.
In terms of the background, I'm working on a library that publicly exposes a couple of functions A and B, but B is also called from A itself. I need to detect, in B, if the method was invoked from A or elsewhere.
I don't want to do this using optional parameters etc because this would be exposed in the public interface to my class.
Erm, help anyone? Just a quick pointer in the right direction would be a big help...
mmilan