public TransactionArchivePresenter(ITransactionArchiveView view, ITransactionRepository repository, IRedirectionService redirectionService)
        {
            ArgumentChecker.ThrowIfNull(view, "view");
            ArgumentChecker.ThrowIfNull(repository, "repository");
            ArgumentChecker.ThrowIfNull(redirectionService, "redirectionService");

            this.view               = view;
            this.repository         = repository;
            this.redirectionService = redirectionService;
        }
Example #2
0
        public TransactionHistoryPresenter(ITransactionHistoryView view, ITransactionRepository repository, IRedirectionService redirectionService, ISecurityManager securityManager)
        {
            ArgumentChecker.ThrowIfNull(view, "view");
            ArgumentChecker.ThrowIfNull(repository, "repository");
            ArgumentChecker.ThrowIfNull(redirectionService, "redirectionService");

            this.view               = view;
            this.repository         = repository;
            this.redirectionService = redirectionService;
            this.securityManager    = securityManager;
        }
        public SafeTraderPresenter(ISafeTraderView view, ICustomerRepository customerRepository,
                                   ISecurityManager securityManager, IRedirectionService redirectionService,
                                   ICffUserService userService, CffPrincipal principal)
        {
            ArgumentChecker.ThrowIfNull(view, "view");
            ArgumentChecker.ThrowIfNull(customerRepository, "customerRepository");

            this.view = view;
            this.customerRepository = customerRepository;
            this.securityManager    = securityManager;
            this.redirectionService = redirectionService;
            this.userService        = userService;
            this.principal          = principal;
        }
Example #4
0
 public Redirector(IRedirectionService service)
 {
     this.service = service;
 }