public SolutionService(IMvvmToolsPackage mvvmToolsPackage) { _mvvmToolsPackage = mvvmToolsPackage; var solution = _mvvmToolsPackage.Ide.Solution; _solutionLoadState = solution.IsOpen ? SolutionLoadState.Unloading : SolutionLoadState.NoSolution; }
public ScaffoldDialogViewModel(IDialogService dialogService, IMvvmToolsPackage package, ISolutionService solutionService, ITemplateService templateService, ISettingsService settingsService, IUnityContainer container) : base(dialogService, container) { Package = package; SolutionService = solutionService; TemplateService = templateService; SettingsService = settingsService; PropertyChanged += OnPropertyChanged; }
public SolutionService(IMvvmToolsPackage mvvmToolsPackage, IVsSolution vsSolution) { _mvvmToolsPackage = mvvmToolsPackage; _vsSolution = vsSolution; }