public override Command[] Process() { var command = _command; AcceptPlaceCommand acceptPlaceCommand = new AcceptPlaceCommand { InstrumentID = command.InstrumentId, AccountID = command.AccountId, TransactionID = command.TransactionId }; return(new Command[] { acceptPlaceCommand }); }
private static Message Convert(string exchangeCode, AcceptPlaceCommand acceptPlaceCommand) { AcceptPlaceMessage acceptPlaceMessage = new AcceptPlaceMessage(exchangeCode,acceptPlaceCommand.InstrumentID, acceptPlaceCommand.AccountID, acceptPlaceCommand.TransactionID, (TransactionError)acceptPlaceCommand.ErrorCode); return acceptPlaceMessage; }