protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); if (Settings.Default.Preferences == null) { Settings.Default.Preferences = new Preferences(); } if (Settings.Default.Favorites == null) { Settings.Default.Favorites = new Favorites(); } if (Settings.Default.UserTags == null) { Settings.Default.UserTags = new UserTags(); } Preferences = Settings.Default.Preferences; Favorites = Settings.Default.Favorites; UserTags = Settings.Default.UserTags; Characters = new Characters(); TagGroups = new TagGroups(Characters); MainWindow = new MainWindow(); }
public FirstLetterOfTagsCache(TagGroups tagGroups) : base() { this.tagGroups = tagGroups; }
public TagsCache(TagGroups tagGroups) : base() { this.tagGroups = tagGroups; }