1 write to SelectedProject
Microsoft.VisualStudio.LanguageServices (1)
GenerateType\GenerateTypeDialogViewModel.cs (1)
750
this.
SelectedProject
= document.Project;
14 references to SelectedProject
Microsoft.VisualStudio.LanguageServices (14)
GenerateType\GenerateTypeDialogViewModel.cs (11)
269
if (isRootOfTheProject || this.
SelectedProject
!= _document.Project)
271
if (!TryGetImplicitFilePath(this.
SelectedProject
.FilePath ?? string.Empty, ServicesVSResources.Project_Path_is_illegal, out implicitFilePath))
313
if (this.
SelectedProject
.FilePath == null)
317
else if (!TryGetImplicitFilePath(this.
SelectedProject
.FilePath, ServicesVSResources.Project_Path_is_illegal, out projectRootPath))
376
if (this.
SelectedProject
.Documents.Where(n => n != null).Where(n => n.FilePath == FullFilePath).Any() ||
378
this.
SelectedProject
.Documents.Where(n => n.Name != null && n.Folders.Count > 0 && n.Name == this.FileName && this.Folders.SequenceEqual(n.Folders)).Any()) ||
439
this.ProjectFolders = _projectManagementService.GetFolders(this.
SelectedProject
.Id, this.
SelectedProject
.Solution.Workspace);
679
if (this.
SelectedProject
.Language == LanguageNames.CSharp)
777
this.ProjectFolders = _projectManagementService.GetFolders(this.
SelectedProject
.Id, this.
SelectedProject
.Solution.Workspace);
GenerateType\VisualStudioGenerateTypeOptionsServiceFactory.cs (3)
67
var defaultNamespace = projectManagementService.GetDefaultNamespace(viewModel.
SelectedProject
, viewModel.
SelectedProject
?.Solution.Workspace);
73
project: viewModel.
SelectedProject
,