Inheritance: Catel.Data.ModelBase
コード例 #1
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));
        }
コード例 #2
0
        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();
 }
コード例 #6
0
 public void Initialize()
 {
     Navigator = _repositoryNavigationFactory.CreateRepoNavigator();
 }