so I do this:
[Input("Foobar")](Input("Foobar")) public ISpread<object> FInput;
which accepts classes fine but not interfaces. So in case of a DX11 stuff FloatRenderSemantic is OK, but when it’s presented as its inheriting interface IDX11RenderSemantic it’s a no-go. (please note this type is only chosen for an example, I also want to use other stuffs which are represented as interfaces) as far as I know, one can absolutely do this in C#:
IDX11RenderSemantic myvar = new FloatRenderSemantic(); object myobj = myvar as object; DoSomethingWithIDX11RenderSemantic(myobj as IDX11RenderSemantic);
So why vvvv won’t allow me to do that? or I may not know something basic about upcasting from interfaces to the .NET base object. In that case does anyone has an advice for it?