Esempio n. 1
0
        private void EndAuction()
        {
            if (_highBid >= _openingBid)
            {
                var completed = new AuctionCompleted
                {
                    HighestBid = _highBid
                };

                _bidderCompleted.Send(completed);
            }
        }
Esempio n. 2
0
        private void EndAuction()
        {
            if (_highestBid >= _openingBid)
            {
                var completed = new AuctionCompleted
                    {
                        HighestBid = _highestBid
                    };

                _bidderCompleted.Send(completed);
            }
        }