Implementing / using the IExpando interface

  • Thread starter Thread starter Matt Adamson
  • Start date Start date
M

Matt Adamson

Guys,

Does anyone know much about the IExpando interface?

I have a business object I've created and I'd like to add support for
methods / attributes at runtime so that scripting clients ( e.g. ASP /
VBScript / Java script ) can call the .NET object through a RCW and invoke
methods which are added at runtime.

Do I need to inherit my .NET class from IExpando and implement methods such
as AddMethod. Are these called by the scripting engine to resolve methods
which don't exist. e.g. assume a query class contains methods such as Save
however a method Resolve needs to be added at runtime so I can write code
such as

oQuery.Resolve.

Cheers

Matt
 
Has anyone got any thoughts on this, or can you refer me to other resources
where I can get more information?

If know one knows on this news group who should I contact next?

Cheers

Matt
 
Back
Top