public MainViewModel() { if (!ServiceLocator.TryGetService(out _uiService)) { throw new Exception($"Failed to find service for {nameof(IUIService)}."); } Title = "Multi Project Template Generator"; Content = new ConfigurationOverviewViewModel(); ShowVersionsCommand = new TaskCommand(ShowVersionsExecute); }
public MainViewModel() { Title = "Multi Project Template Generator"; Content = new ConfigurationOverviewViewModel(); ShowVersionsCommand = new TaskCommand(ShowVersionsExecute); }