C# Class SonarLint.VisualStudio.Progress.Controller.ErrorNotification.ErrorNotificationManager

Implementation of IErrorNotificationManager that allows to addition and removal of IProgressErrorNotifier that will be notified of errors
The class is thread safe and each IProgressErrorNotifier is responsible for notifying on the correct thread
Inheritance: IErrorNotificationManager
Mostra file Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Public Methods

Method Description
AddNotifier ( IProgressErrorNotifier notifier ) : void

IErrorNotificationManager.AddNotifier

RemoveNotifier ( IProgressErrorNotifier notifier ) : void

IErrorNotificationManager.RemoveNotifier

Private Methods

Method Description
IProgressErrorNotifier ( Exception ex ) : void

Method Details

AddNotifier() public method

IErrorNotificationManager.AddNotifier
public AddNotifier ( IProgressErrorNotifier notifier ) : void
notifier IProgressErrorNotifier A unique instance of
return void

RemoveNotifier() public method

IErrorNotificationManager.RemoveNotifier
public RemoveNotifier ( IProgressErrorNotifier notifier ) : void
notifier IProgressErrorNotifier An existing instance of
return void