コード例 #1
0
 internal void FireRemoteProcedureCallEvent(RemoteProcedureCallEventArgs args)
 {
     if (RemoteProcedureCall != null)
         RemoteProcedureCall(this, args);
 }
コード例 #2
0
 void OnRemotingMessageReceived(object sender, RemotingMessageReceivedEventArgs args)
 {
     RemoteProcedureCallEventArgs rpc = new RemoteProcedureCallEventArgs(args.Destination, args.Operation, (dynamic)args.Message.Body);
     _extensionManager.FireRemoteProcedureCallEvent(rpc);
     args.Message.Body = rpc.Parameters;
 }