Where is the parameter argument collection?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi! I have hundreds of functions. I would like to make a debug possibility.
The first task is to list the parameter collection with a cycle. Where is the
function parameter argument collection?

thx.
mcskf
 
mcskf said:
Hi! I have hundreds of functions. I would like to make a debug possibility.
The first task is to list the parameter collection with a cycle. Where is the
function parameter argument collection?

I suspect that MethodInfo.GetParameters is what you're looking for. If
not, perhaps you could rephrase your question to make it a bit
clearer.
 
The solution seems to be good, but I can't use it.
I have ~120 functions with different numbers of parameters in one class.
I would like to debug these functions. So, when a function is invoked I want
to write all parameter names and values in a log file.
I don't want to make different delegates or anything like this to each
functions.

The typeof(Service).GetMethod("DEL_Assignments").GetParameters(); shows me
all parameter names and types, but obviously not the values.

So, what is the next step?
 
Thank you for your advice.
Unfortunately I couldn't get that book, although I still to try get it
continuously.
So would you please give me any detailed information?
 
Unfortunately we still haven't found the solution.
Our company has more MSDN universal subscriptions.
Perhaps it's not the best place for our questions.
Which is the MSDN forum where we can get answers for our questions in two
days?
(Not in the form of a title of a book.)
 
Back
Top