/// <summary> /// Initializes a new instance of the <see cref="LoginPresenter" /> class. /// </summary> /// <param name="loginPage">The login page.</param> /// <param name="mainPage">The main page.</param> /// <param name="loginViewModel">The login view model.</param> /// <param name="device">The device.</param> /// <param name="securityServiceClient">The security service client.</param> /// <param name="transactionProcessorAclClient">The transaction processor acl client.</param> /// <param name="analysisLogger">The analysis logger.</param> public LoginPresenter(ILoginPage loginPage, IMainPage mainPage, LoginViewModel loginViewModel, IDevice device, ISecurityServiceClient securityServiceClient, ITransactionProcessorACLClient transactionProcessorAclClient, IAnalysisLogger analysisLogger) { this.MainPage = mainPage; this.LoginPage = loginPage; this.LoginViewModel = loginViewModel; this.Device = device; this.SecurityServiceClient = securityServiceClient; this.TransactionProcessorAclClient = transactionProcessorAclClient; this.AnalysisLogger = analysisLogger; }
/// <summary> /// Initializes a new instance of the <see cref="TransactionsPresenter" /> class. /// </summary> /// <param name="transactionsPage">The transactions page.</param> /// <param name="mobileTopupSelectOperatorPage">The mobile topup select operator page.</param> /// <param name="mobileTopupSelectOperatorViewModel">The mobile topup select operator view model.</param> /// <param name="mobileTopupPerformTopupPage">The mobile topup perform topup page.</param> /// <param name="mobileTopupPerformTopupViewModel">The mobile topup perform topup view model.</param> /// <param name="mobileTopupPaymentSuccessPage">The mobile topup payment success page.</param> /// <param name="mobileTopupPaymentFailedPage">The mobile topup payment failed page.</param> /// <param name="device">The device.</param> /// <param name="transactionProcessorAclClient">The transaction processor acl client.</param> /// <param name="analysisLogger">The analysis logger.</param> public TransactionsPresenter(ITransactionsPage transactionsPage, IMobileTopupSelectOperatorPage mobileTopupSelectOperatorPage, MobileTopupSelectOperatorViewModel mobileTopupSelectOperatorViewModel, IMobileTopupPerformTopupPage mobileTopupPerformTopupPage, MobileTopupPerformTopupViewModel mobileTopupPerformTopupViewModel, IMobileTopupPaymentSuccessPage mobileTopupPaymentSuccessPage, IMobileTopupPaymentFailedPage mobileTopupPaymentFailedPage, IDevice device, ITransactionProcessorACLClient transactionProcessorAclClient, IAnalysisLogger analysisLogger) { this.TransactionsPage = transactionsPage; this.MobileTopupSelectOperatorPage = mobileTopupSelectOperatorPage; this.MobileTopupSelectOperatorViewModel = mobileTopupSelectOperatorViewModel; this.MobileTopupPerformTopupPage = mobileTopupPerformTopupPage; this.MobileTopupPerformTopupViewModel = mobileTopupPerformTopupViewModel; this.MobileTopupPaymentSuccessPage = mobileTopupPaymentSuccessPage; this.MobileTopupPaymentFailedPage = mobileTopupPaymentFailedPage; this.Device = device; this.TransactionProcessorAclClient = transactionProcessorAclClient; this.AnalysisLogger = analysisLogger; }