Exemplo n.º 1
0
 /// <summary>
 /// The send.
 /// </summary>
 /// <param name="stub">
 /// The stub.
 /// </param>
 /// <param name="parametersContent">
 /// The parameters content.
 /// </param>
 protected override void Send(IMessagingStub stub, Dictionary<string, object> parametersContent)
 {
     stub.Send(new StubMessage(StubMessageType.Send) { Content = parametersContent, Contract = this.ServiceContractName.ToString(), Operation = this.OperationName });
 }
Exemplo n.º 2
0
 /// <summary>
 /// The send.
 /// </summary>
 /// <param name="stub">
 /// The stub.
 /// </param>
 /// <param name="parametersContent">
 /// The parameters content.
 /// </param>
 protected override void Send(IMessagingStub stub, Dictionary<string, object> parametersContent)
 {
     var receive = (ReceiveStub)this.Request;
     stub.Send(
         new StubMessage(StubMessageType.SendReply) { Content = parametersContent, Contract = receive.ServiceContractName.ToString(), Operation = receive.OperationName });
 }
Exemplo n.º 3
0
 /// <summary>
 /// The send.
 /// </summary>
 /// <param name="stub">
 /// The stub.
 /// </param>
 /// <param name="messageContent">
 /// The message content.
 /// </param>
 protected override void Send(IMessagingStub stub, object messageContent)
 {
     stub.Send(new StubMessage(StubMessageType.Send) { Content = messageContent, Contract = this.ServiceContractName.ToString(), Operation = this.OperationName });
 }