public NodeResponse get(NodeSelect.Request Request) { //delegate has to be static because you can't create an instance yet: you don't have resources until the delegate is actually called NodeResponse Ret = new NodeResponse(); var GetViewDriverType = new CswWebSvcDriver <NodeResponse, NodeSelect.Request>( CswWebSvcResourceInitializer: new CswWebSvcResourceInitializerNbt(_Context, null), ReturnObj: Ret, WebSvcMethodPtr: CswNbtWebServiceNode.getNodes, ParamObj: Request ); GetViewDriverType.run(); return(Ret); }
public NodeResponse getSizes(CswNbtNode.Node Request) { // TODO: This should really be a call to Nodes/get with a proper ViewId, // but as this affects multiple wizards, it's not getting fixed today. NodeResponse Ret = new NodeResponse(); var GetViewDriverType = new CswWebSvcDriver <NodeResponse, CswNbtNode.Node>( CswWebSvcResourceInitializer: new CswWebSvcResourceInitializerNbt(_Context, null), ReturnObj: Ret, WebSvcMethodPtr: CswNbtWebServiceNode.getSizes, ParamObj: Request ); GetViewDriverType.run(); return(Ret); }