Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acessing Non-Public base property in C# #695

Open
RaviMDhoble opened this issue Feb 10, 2020 · 0 comments
Open

Acessing Non-Public base property in C# #695

RaviMDhoble opened this issue Feb 10, 2020 · 0 comments

Comments

@RaviMDhoble
Copy link

Hello,
I have created an app in C# in which I have embedded IronPython. Currently, I am able to execute a Testscript.py. I'm stuck because I'm not able to access all the properties I need. But when I'm debugging in Visual Studio and explore the object "CalcObj" Or "Scope" or "engine", I can clearly see the properties and non-public members objects (Key-value pair) that I want to access for example like functions defined in PY file (Add, sub etc), arguments (first, second).
I want to extract all these key pair values in c# and stored in array or list to use later in code. I tried a couple of ways but have no clue. I am new to c#, so learning along the way.
PFA, screenshots. hope to get a response from the community.
First_Second_variables
PyScript
UnableToAccessObjectProperties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant