About 51 results
Open links in new tab
  1. Reflection support in C - Stack Overflow

    Aug 30, 2009 · Reflection as analysis is generally very weak; usually it can only provide access to function and field names. This weakness comes from the language implementers essentially not …

  2. java - What is reflection and why is it useful? - Stack Overflow

    Sep 1, 2008 · What is reflection, and why is it useful? I'm particularly interested in Java, but I assume the principles are the same in any language.

  3. c# - Set object property using reflection - Stack Overflow

    Is there a way in C# where I can use reflection to set an object property? Ex: MyObject obj = new MyObject(); obj.Name = "Value"; I want to set obj.Name with reflection. Something like: Reflection.

  4. How can I add reflection to a C++ application? - Stack Overflow

    Sep 3, 2008 · There are two kinds of reflection swimming around. Inspection by iterating over members of a type, enumerating its methods and so on. This is not possible with C++. Inspection by checking …

  5. The current state of reflection in C++20 - Stack Overflow

    Jul 28, 2021 · Here is a link to Andrei Alexandrescu' talk on reflection at CppCon 2022, which addresses your main question: the proposals for reflection are still in the pipeline. Assuming the three-year …

  6. Using reflection to get values from properties from a list of a class

    May 23, 2012 · Using reflection to get values from properties from a list of a class Asked 13 years, 11 months ago Modified 13 years, 6 months ago Viewed 70k times

  7. c# - 'casting' with reflection - Stack Overflow

    Sep 9, 2009 · Note that I cannot assume that the PropertyInfo always represents a long, neither that value is always a decimal. However, I know that value can be casted to the correct type for that …

  8. c# - How costly is .NET reflection? - Stack Overflow

    Aug 24, 2008 · Reflection is costly because of the many checks the runtime must make whenever you make a request for a method that matches a list of parameters. Somewhere deep inside, code exists …

  9. O que é Reflection. Por que é útil? - Stack Overflow em Português

    Apr 15, 2014 · 72 Reflection é um termo usado para indicar a capacidade de obter metadados sobre o próprio programa compilado, em português pode-se referir a isso como reflexão mesmo. Como …

  10. Reflection: How to Invoke Method with parameters - Stack Overflow

    I am trying to invoke a method via reflection with parameters and I get: object does not match target type If I invoke a method without parameters, it works fine. Based on the following code if I...