示例#1
0
 /// <summary>
 /// The send.
 /// </summary>
 /// <param name="stub">
 /// The stub.
 /// </param>
 /// <param name="parametersContent">
 /// The parameters content.
 /// </param>
 protected abstract void Send(IMessagingStub stub, Dictionary<string, object> parametersContent);
示例#2
0
 /// <summary>
 /// The send.
 /// </summary>
 /// <param name="stub">
 /// The stub.
 /// </param>
 /// <param name="messageContent">
 /// The message content.
 /// </param>
 protected abstract void Send(IMessagingStub stub, object messageContent);
示例#3
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 });
 }
示例#4
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 });
 }
示例#5
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 });
 }