Пример #1
0
        public static TradeCardsCommand Create(TradeEscrow escrow)
        {
            TradeCardsCommand command = new TradeCardsCommand();

            command.escrow = escrow;
            return(command);
        }
Пример #2
0
    public void ApplyTrade()
    {
        ICommand command = TradeCardsCommand.Create(matchState.escrow);

        _commandFactory.Execute(command);
    }