Hi Stefan,
That's an interesting idea. Some thoughts:
Thanks!
That's an interesting idea. Some thoughts:
- In ClearScript it probably would be easier and more natural if the resolver worked in the other direction - that is, if it took names issued by script code and transformed them into names used on the host.
- For applications that expose many host resources, it might be useful to allow the resolver to examine the target object and/or type.
-
This mechanism might have uses beyond name transformation, such as blocking access to arbitrary members, modifying argument lists, checking permissions, etc. It probably could be a generic binding hook.
Thanks!