Наследование: Catel.Data.ModelBase
        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;
        }
Пример #3
0
        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));
        }
Пример #4
0
        public RepositoryNavigator CreateRepoNavigator()
        {
            var navigator = new RepositoryNavigator();

            InitializeRepositoryCategories(navigator);

            return(navigator);
        }
Пример #5
0
 public void Initialize()
 {
     Navigator = _repositoryNavigationFactory.CreateRepoNavigator();
 }
 public void Initialize()
 {
     Navigator = _repositoryNavigationFactory.CreateRepoNavigator();
 }