Hello,
I'm using JScript VSA engine in my application. I pass my C# objects to
script as global items. Properties/fields declared in C# classes are visible
from script code. But I want that script can use in similar way properties
not declared in the class - I have internal collection of name-value pairs.
I suppose that my C# object should implement some interface (like IDispatch
for automation objects in usual jscript).
Are IReflect or IExpando designed for this?
--
Best regards, Vladimir
bruce barker - 22 Mar 2004 17:45 GMT
the C# does not support creating javascript's expando objects. Enen in
javascript if you create a native clr class you lose this feature.
-- bruce (sqlwork.com)
> Hello,
>
[quoted text clipped - 7 lines]
> --
> Best regards, Vladimir