Reflections
-
I am coding a "Trace" object. This object will report the "method name" of the method within the class that the code is currently executing. I do not want to have to type in the method name each time the trace object is called. I simply want to determine tha nem of the method call that is currently being excecuted. How Can I accomplish this? "Moose Man"
-
I am coding a "Trace" object. This object will report the "method name" of the method within the class that the code is currently executing. I do not want to have to type in the method name each time the trace object is called. I simply want to determine tha nem of the method call that is currently being excecuted. How Can I accomplish this? "Moose Man"
Doing a stack walk is not the fastest thing on Earth, but you could use the System.Diagnostics.StackTrace class for that.
-
I am coding a "Trace" object. This object will report the "method name" of the method within the class that the code is currently executing. I do not want to have to type in the method name each time the trace object is called. I simply want to determine tha nem of the method call that is currently being excecuted. How Can I accomplish this? "Moose Man"
Please don't repost questions so soon after you have asked it originally. You asked this question once today already - give people a chance to answer before you do it again. It's only polite.
Deja View - the feeling that you've seen this post before.