0
是否有可能使用RemoteObject和source从Flex创建C#通用类的实例?如何从ActionScript RemoteObject实例C#Generic <T>类?
remoteObject = new RemoteObject("fluorine");
remoteObject.source="Service.GenericClass`1"; //how specific the entity class??
remoteObject.getMethod(arg1, arg2);
我得到这个错误信息:因为 ContainsGenericParameters是真的
无法创建Service.GenericClass``1 [T]的实例。
这是有道理的,因为我没有指定实体类,但是,我该怎么做?
我正在使用FluorineFx进行远程处理。
@Dan:注意'**'粗体命令在代码格式中不起作用。它有时很烦人... – sarnold
@sarnold我应该删除那些那里(不知道为什么我没有..) – Dan