1 write to SelectedProject
Microsoft.VisualStudio.LanguageServices (1)
GenerateType\GenerateTypeDialogViewModel.cs (1)
708
this.
SelectedProject
= document.Project;
19 references to SelectedProject
Microsoft.VisualStudio.LanguageServices (19)
GenerateType\GenerateTypeDialogViewModel.cs (16)
250
if (isRootOfTheProject || this.
SelectedProject
!= _document.Project)
252
if (!TryGetImplicitFilePath(this.
SelectedProject
.FilePath ?? string.Empty, ServicesVSResources.Project_Path_is_illegal, out implicitFilePath))
294
if (this.
SelectedProject
.FilePath == null)
298
else if (!TryGetImplicitFilePath(this.
SelectedProject
.FilePath, ServicesVSResources.Project_Path_is_illegal, out projectRootPath))
357
if (this.
SelectedProject
.Documents.Where(n => n != null).Where(n => n.FilePath == FullFilePath).Any() ||
359
this.
SelectedProject
.Documents.Where(n => n.Name != null && n.Folders.Count > 0 && n.Name == this.FileName && this.Folders.SequenceEqual(n.Folders)).Any()) ||
416
this.ProjectFolders = _projectManagementService.GetFolders(this.
SelectedProject
.Id, this.
SelectedProject
.Solution.Workspace);
475
if (_previouslyPopulatedProject ==
SelectedProject
)
480
_previouslyPopulatedProject =
SelectedProject
;
484
if (
SelectedProject
== _document.Project)
499
_previouslyPopulatedDocumentList.AddRange(
SelectedProject
.Documents
503
this.SelectedDocument =
SelectedProject
.Documents.FirstOrDefault();
637
if (this.
SelectedProject
.Language == LanguageNames.CSharp)
735
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
,