/// <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);
/// <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);
/// <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 }); }
/// <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 }); }
/// <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 }); }