public SearchViewModel(MainWindowFunctions mainWindowFunctions, OnlineSearchResultsDataAccess onlineSearchResultsDataAccess) { _headerControl = new HeaderControlEntity() { IsHeaderVisible = true, IsTitleVisible = true, IsDescriptionVisible = true, Title = Properties.SearchViewResource.Title }; ConfigureHeaderControl(_headerControl); _mainWindowFunctions = mainWindowFunctions; _onlineSearchResultsDataAccess = onlineSearchResultsDataAccess; }
public MainWindowViewModel(MainWindowFunctions mainWindowFunctions) { ApplyTheme(); _mainWindowFunctions = mainWindowFunctions; SearchControlAction = OnSearch; }
public StartViewModel(MainWindowFunctions mainWindowFunctions, OnlineSearchResultsDataAccess onlineSearchResultsDataAccess) : base(mainWindowFunctions, onlineSearchResultsDataAccess) { ConfigureHeaderControl(false); SearchControlAction = DisplayStartViewResults; }