Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CongregatePresenter"/> class.
 /// </summary>
 /// <param name="view">The view.</param>
 /// <param name="stockItemView">The stock item view.</param>
 /// <param name="bankAccountView">The bank account view.</param>
 /// <param name="model">The model.</param>
 public CongregatePresenter(ICongregateView view, IStockItemView stockItemView, IBankAccountView bankAccountView, IViewModel model)
 {
     this._View = view;
     this._StockItemView = stockItemView;
     this._BankAccountView = bankAccountView;
     this._Model = model as AppDataManager;
 }
Exemplo n.º 2
0
 public void SetUp()
 {
     this._Manager = new AppDataManager();
     this._Stock = new StockItem();
     this._Account = new BankAccount();
 }