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

AssociateWithNewProject() public method

Associates the with new project.
public AssociateWithNewProject ( Resource projectIn, string workingDir, ISourceControlProvider provider, Profile>.Dictionary profile, string visualStudioVersion ) : void
projectIn Resource The project in.
workingDir string The working dir.
provider ISourceControlProvider The provider.
profile Profile>.Dictionary The profile.
visualStudioVersion string
return void
        public void AssociateWithNewProject(
            Resource projectIn,
            string workingDir,
            ISourceControlProvider provider,
            Dictionary<string, Profile> profile,
            string visualStudioVersion)
        {
            this.project = projectIn;

            foreach (var availableOption in this.AvailableOptionsModels)
            {
                availableOption.ReloadDataFromDisk(projectIn);
            }
        }