parameterinfo Questions

3

Solved

They both sound similar. From msdn: ParameterInfo.IsOptional Gets a value indicating whether this parameter is optional. This method depends on an optional metadata flag. This flag can be i...

3

Solved

I have a need to invoke methods on a type through reflection using C#. At run-time, my data will consist of a Dictionary containing name/value pairs. The names in the Dictionary will correspond to...
Su asked 10/7, 2011 at 4:44

1

With continutation to my earlier thread Using reflection read properties of an object containing array of another object. I am hoping to make this wonderful method from EvgK a generic method that c...
Laparotomy asked 7/2, 2011 at 16:55

4

Solved

I have a MethodInfo of a GenericMethodDefinition. Such as: CallMethod<T>(T arg, string arg2). The GetParameters() method will give me two ParameterInfo objects, the first of which is generic,...
Mika asked 19/1, 2011 at 17:56
1

© 2022 - 2024 — McMap. All rights reserved.