private void InitializeRepositoryCategories(RepositoryNavigator navigator) { Argument.IsNotNull(() => navigator); navigator.RepositoryCategories.Add(CreateRepositoryCategory(PackageOperationType.Uninstall)); navigator.RepositoryCategories.Add(CreateRepositoryCategory(PackageOperationType.Install)); navigator.RepositoryCategories.Add(CreateRepositoryCategory(PackageOperationType.Update)); }
public RepositoryNavigator CreateRepoNavigator() { var navigator = new RepositoryNavigator(); InitializeRepositoryCategories(navigator); return navigator; }
public RepositoryNavigator CreateRepoNavigator() { var navigator = new RepositoryNavigator(); InitializeRepositoryCategories(navigator); return(navigator); }
public void Initialize() { Navigator = _repositoryNavigationFactory.CreateRepoNavigator(); }