public LoginController(IEventAggregator eventAggregator, ViewOrchestrator orchestrator) { this.eventAggregator = eventAggregator; this.viewOrchestrator = orchestrator; this.eventAggregator.GetEvent<AuthenticationEvent>().Subscribe(RaiseAuthentification, true); // Temporary added subscription on logout WebContextBase.Current.Authentication.LoggedOut += Authentication_LoggedOut; }
public ApplicationController(ViewOrchestrator orchestrator, IEventAggregator aggregator) { this.viewOrchestrator = orchestrator; this.eventAggregator = aggregator; this.RegisterSubcriptions(); }