Beispiel #1
0
        public static AddTradeRequestCommand Create(TradeEscrow escrow, TradeRequest request)
        {
            AddTradeRequestCommand command = new AddTradeRequestCommand();

            command.escrow  = escrow;
            command.request = request;

            return(command);
        }
Beispiel #2
0
    public void AddTradeRequest(TradeRequest request)
    {
        ICommand command = AddTradeRequestCommand.Create(matchState.escrow, request);

        _commandFactory.Execute(command);
    }