Exemple #1
0
 public UserList(ApplicationContext context, IViewRegister registration, Authentication authentication)
 {
     InitializeComponent();
     this.context        = context;
     this.registration   = registration;
     this.authentication = authentication;
 }
Exemple #2
0
 public AuthenticationPresenter(IViewAuthentication view, IFactoryThePresenters mainPresenter, AuthenticationService authenticationService)
 {
     this.authenticationService = authenticationService;
     this.mainPresenter         = mainPresenter;
     this.view = view;
     SubscribeToViewEvents();
 }