/// <summary>
        /// Initializes a new instance of the <see cref="ProjectMappingViewModel" /> class.
        /// </summary>
        /// <param name="projectMapping">The project Mapping.</param>
        /// <param name="visualStudioService">The visual studio service.</param>
        public ProjectMappingViewModel(ProjectMapping projectMapping, IVisualStudioService visualStudioService)
        {
            Argument.IsNotNull("projectMapping", projectMapping);
            Argument.IsNotNull("visualStudioService", visualStudioService);

            ProjectMapping = projectMapping;

            AvailableProjects = new List<Project>(visualStudioService.GetAllProjects());
        }
        /// <summary>
        /// Method to invoke when the Add command is executed.
        /// </summary>
        private void OnAddExecute()
        {
            var projectMapping = new ProjectMapping();
            var vm = _viewModelFactory.CreateViewModel<ProjectMappingViewModel>(projectMapping);

            if (_uiVisualizerService.ShowDialog(vm) ?? false)
            {
                ProjectMappings.Add(projectMapping);
                SelectedProjectMapping = projectMapping;
            }
        }