Exemplo n.º 1
0
        public override void Send(string from, string to, string method, string message)
        {
            IParticipant receiver = base.participants[to];
            var          a        = new[] { from, message };

            if (receiver != null)
            {
                receiver.GetType().InvokeMember(
                    name: method,
                    invokeAttr: BindingFlags.InvokeMethod,
                    binder: null,
                    target: receiver,
                    args: a);


                //receiver.Receive(from, message);
            }
        }