-
Jint 4.2.1. + .net 9 . The example
does not work, the object p is not changed. -- |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Your anonymous type doesn't have a stter for |
Beta Was this translation helpful? Give feedback.
-
perfect, with a class it works. Then i suggest removal of the comment about anonymous types, because they hardly have setters and getters. also add a class, so the example is complete.
|
Beta Was this translation helpful? Give feedback.
Your anonymous type doesn't have a stter for
Name
so Jint cannot set it, see https://sharplab.io/#v2:CYLg1APgbghgTgAgA4ILwIHYFMDuCDeAsAFAJkIByMAtlmggEQCyAlgMYDWWAngkwPYBXAM5YGJAL4BuIA==