public PictureSlidesLabWindowViewModel(IPictureSlidesLabWindowView view, IStylesDesigner stylesDesigner = null) { View = view; ImageDownloader = new ContextDownloader(View.GetThreadContext()); InitStorage(); InitUiModels(); CleanUnusedPersistentData(); Designer = stylesDesigner ?? new StylesDesigner(); }
public PictureSlidesLabWindowViewModel(IPictureSlidesLabWindowView view, IStylesDesigner stylesDesigner = null) { Logger.Log("Init PSL View Model begins"); View = view; ImageDownloader = new ContextDownloader(View.GetThreadContext()); InitStorage(); InitUiModels(); InitFontFamilies(); CleanUnusedPersistentData(); Designer = stylesDesigner ?? new StylesDesigner(); Designer.SetSettings(Settings); OptionsFactory = new StyleOptionsFactory(); VariantsFactory = new StyleVariantsFactory(); Logger.Log("Init PSL View Model done"); }