public IHostingRobotProxy createRobotProxy(IHostManager hostManager, Object robotSpecification, IRobotStatics statics, IRobotPeer peer) { Object s = HiddenAccess.getFileSpecification(robotSpecification); var itemSpecification = Bridge.Cast<IRobotItem>(s); string file = DllRootHelper.GetDllFileName(itemSpecification); HostingShell hostingShell = new HostingShell(itemSpecification, hostManager, peer, statics, file); return hostingShell; }