2

How can I list all available method of a class or object in jscript.net? Is it even possible?

Codler
  • 10,951
  • 6
  • 52
  • 65

2 Answers2

0

I imagine it is possible to a certain extent. It may require compiling with /fast-. Any standard object introspection tool would be a good place to start. Have you got a particular object you're wanting to traverse?

There are lots of good articles on Javascript Introspection and that's one of them, including this one on StackOverflow.

Community
  • 1
  • 1
bugmagnet
  • 7,631
  • 8
  • 69
  • 131
-1

Your answer is here LINK

You can list all available methods of a class or object

topcat3
  • 2,561
  • 6
  • 33
  • 57
  • This answer links to an article about JScript.NET which has nothing to do with Javascript. – ZippyV Mar 06 '13 at 18:49
  • @ZippyV Looks like the question has nothing to do with JavaScript : ). – Teemu Mar 07 '13 at 05:29
  • 2
    This is a JScript.NET question – Codler Mar 07 '13 at 06:25
  • on further looking into it it doesn't seem so easy. Can you use the expando modifier to hook into JScript and list all classes and objects this way. A hacked solution but it may not be possible. Intrigued – topcat3 Mar 07 '13 at 09:50