How can I retrieve the name of a Method within a Class? #2064
icecolderino
started this conversation in
General
Replies: 1 comment 1 reply
-
using System; class Program
} This might help you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear friend,
I'll keep it short.
I have a JavaScript file called 'main.js'. Within this file, I have a class named "TestPlugin" and inside this class are methods.
How can I, in C#, collect ONLY the names of the methods within this class?
For example, lets imagine I have the following method:
When I collect the method names, I want it to return "onInit".
Is this possible? I remember that it was in both Jint V1 and V2.
Lemme know.
Your friend,
Ice Cold.
Beta Was this translation helpful? Give feedback.
All reactions