Example #1
0
 public void SetUp()
 {
     authService      = MockRepository.GenerateStub <IAuthenticationService>();
     portfolioService = MockRepository.GenerateStub <IStockPortfolioService>();
     priceService     = MockRepository.GenerateStub <IStockPriceService>();
     broker           = new StockBroker(authService, portfolioService, priceService);
 }
Example #2
0
 public StockBroker(IAuthenticationService authenticationService,
                    IStockPortfolioService portfolioService,
                    IStockPriceService priceService)
 {
     this.authenticationService = authenticationService;
     this.portfolioService      = portfolioService;
     this.priceService          = priceService;
 }
Example #3
0
 public StockBroker(IAuthenticationService authenticationService,
                    IStockPortfolioService portfolioService,
                    IStockPriceService priceService)
 {
     this.authenticationService = authenticationService;
     this.portfolioService = portfolioService;
     this.priceService = priceService;
 }
Example #4
0
 public StockViewerForm(IAuthenticationService authenticationService,
     IStockPortfolioService portfolioService,
     IStockPriceService priceService)
 {
     this.authenticationService = authenticationService;
     this.portfolioService = portfolioService;
     this.priceService = priceService;
     InitializeComponent();
 }
Example #5
0
 public StockViewerForm(IAuthenticationService authenticationService,
                        IStockPortfolioService portfolioService,
                        IStockPriceService priceService)
 {
     this.authenticationService = authenticationService;
     this.portfolioService      = portfolioService;
     this.priceService          = priceService;
     InitializeComponent();
 }
 public StockViewerForm(IAuthenticationService aAuthenticationService, IStockPortfolioService aStockPortfolioService, IStockPriceService aStockPriceService)
 {
     authenticationService = aAuthenticationService;
     portfolioService      = aStockPortfolioService;
     priceService          = aStockPriceService;
 }
 public PersonalInvestmentController(ISubscriptionService subscriptionService, IStockPortfolioService stockService)
 {
     _subscriptionService = subscriptionService;
     _stockService        = stockService;
 }