public virtual void SetActor(byps.test.api.inl.Actor act, BAsyncResult <Object> asyncResult) { BRequest_RemoteInlineInstance_setActor req = new BRequest_RemoteInlineInstance_setActor(); req.actValue = act; transport.sendMethod(req, asyncResult); }
public virtual void SetActor(byps.test.api.inl.Actor act) { BSyncResult <Object> asyncResult = new BSyncResult <Object>(); SetActor(act, BAsyncResultHelper.ToDelegate <Object>(asyncResult)); asyncResult.GetResult(); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task SetActorAsync(byps.test.api.inl.Actor act) { BRequest_RemoteInlineInstance_setActor req = new BRequest_RemoteInlineInstance_setActor(); req.actValue = act; Task <Object> task = Task <Object> .Factory.FromAsync(transport.BeginSend <Object>, transport.EndSend <Object>, req, null); await task; }