public OptionsView(OptionsStore optionsStore) : this() { OptionsStore = optionsStore; Initialize(); }
public SchemeModel(SchemeCache schemeCache, SchemeHistory schemesHistory, OptionsStore optionsStore, StudioStylesService studioStylesService, SettingsActivator settingsActivator) { SchemeCache = schemeCache; SchemesHistory = schemesHistory; OptionsStore = optionsStore; StudioStylesService = studioStylesService; SettingsActivator = settingsActivator; var stylesPerPage = optionsStore.StylesPerPage; PagedSchemesView = new PagedCollectionView(SchemeCache.Schemes) { PageSize = stylesPerPage }; PagedSchemesView.SortDescriptions.Add(new SortDescription("Rating", ListSortDirection.Descending)); CurrentSearchString = ""; SearchValues = new List<string>(); }