public InvestigateCodeViewModel(ICodeInspectService codeInspectService, IEventAggregator eventAggregator) { this.GetIssuesButtonText = GET_ISSUES_TEXT; this.codeInspectService = codeInspectService; ReportCreatedEvent reportCreatedEvent = eventAggregator.GetEvent<ReportCreatedEvent>(); reportCreatedEvent.Subscribe(OnReportCreated); }
public InvestigateCodeViewModel(ICodeInspectService codeInspectService, IEventAggregator eventAggregator) { this.GetIssuesButtonText = GET_ISSUES_TEXT; this.codeInspectService = codeInspectService; ReportCreatedEvent reportCreatedEvent = eventAggregator.GetEvent <ReportCreatedEvent>(); reportCreatedEvent.Subscribe(OnReportCreated); }