VSSonarExtensionUi.ViewModel.Configuration.VSonarQubeOptionsViewModel.VSonarQubeOptionsViewModel C# (CSharp) Method

VSonarQubeOptionsViewModel() public method

Initializes a new instance of the VSonarQubeOptionsViewModel class.
public VSonarQubeOptionsViewModel ( ISonarRestService service, IConfigurationHelper configurationHelper, INotificationManager notifier ) : System
service ISonarRestService The service.
configurationHelper IConfigurationHelper The configuration helper.
notifier INotificationManager The notifier.
return System
        public VSonarQubeOptionsViewModel(
            ISonarRestService service,
            IConfigurationHelper configurationHelper,
            INotificationManager notifier)
        {
            this.notificationManager = notifier;
            this.restService = service;
            this.configurationHelper = configurationHelper;

            this.InitModels();
            this.InitCommanding();

            AssociationModel.RegisterNewModelInPool(this);
            SonarQubeViewModel.RegisterNewViewModelInPool(this);
        }