public override StatusAuction <Auction> UpdateProviders(IProviders providers) { if (providers.Get().Count == 2) { Auction.Providers = providers; } return(new StatusAuctionNew(Auction)); }
public override void UpdateProviders(IProviders providers) { var round = GetActualRound(); if (round != null) { //Null Object Pattern var roundAuctionStrategyFactory = new RoundAuctionStrategyFactory(); var updateProviderStrategy = roundAuctionStrategyFactory.Make <UpdateProvidersRoundAuctionParameters>(StrategyTypeEnum.UpdateProvider); round.Update(updateProviderStrategy, new UpdateProvidersRoundAuctionParameters(new Providers(providers.Get()), Auction)); } }
public abstract void UpdateProviders(IProviders providers);
public UpdateProviderParameter(IProviders providers) { Providers = providers; }
public override StatusAuction <Auction> UpdateProviders(IProviders providers) { return(this); }
public abstract StatusAuction <TAuction> UpdateProviders(IProviders providers);
public Round(Auction auction, IProviders providers, AuctionProviders providersToAdd) { Auction = auction; Providers.Add(providersToAdd.All()); }
public override void UpdateProviders(IProviders providers) { Auction.Providers = providers; }
public MarketProvider(IProviders providers, ITransactionDAO transactionDAO) { this._providers = providers; this._transactionDAO = transactionDAO; }