Exemplo n.º 1
0
        internal SearchViewModel(DynamoViewModel dynamoViewModel)
        {
            Model = dynamoViewModel.Model.SearchModel;
            this.dynamoViewModel = dynamoViewModel;

            IPathManager pathManager = null;

            if (dynamoViewModel != null && (dynamoViewModel.Model != null))
            {
                pathManager = dynamoViewModel.Model.PathManager;
            }

            iconServices = new IconServices(pathManager);

            MaxNumSearchResults = 15;

            selectionNavigator = new SelectionNavigator(SearchRootCategories);
            InitializeCore();
        }
Exemplo n.º 2
0
 // Just for tests.
 internal SearchViewModel(NodeSearchModel model)
 {
     Model = model;
     selectionNavigator = new SelectionNavigator(SearchRootCategories);
     InitializeCore();
 }
Exemplo n.º 3
0
 // Just for tests.
 internal SearchViewModel(NodeSearchModel model)
 {
     Model = model;
     selectionNavigator = new SelectionNavigator(SearchRootCategories);
     InitializeCore();
 }
Exemplo n.º 4
0
        internal SearchViewModel(DynamoViewModel dynamoViewModel)
        {
            Model = dynamoViewModel.Model.SearchModel;
            this.dynamoViewModel = dynamoViewModel;

            IPathManager pathManager = null;
            if (dynamoViewModel != null && (dynamoViewModel.Model != null))
                pathManager = dynamoViewModel.Model.PathManager;

            iconServices = new IconServices(pathManager);

            MaxNumSearchResults = 15;

            selectionNavigator = new SelectionNavigator(SearchRootCategories);
            InitializeCore();
        }