public ModsTabViewModel(CCMMInitialization initialization) { EnableAllModsCommand = new Command(EnableAllMods); DisableAllModsCommand = new Command(DisableAllMods); RefreshListCommand = new Command(LoadAllMods); InstallModCommand = new Command(InstallModsFromDialog); UpdateFiltersCommand = new Command(RefreshView); Icons = new ModsTabIcons(); ShowEnabledMods = true; ShowDisabledMods = true; InitModsCollectionSource(); this.initialization = initialization; this.modManager = initialization.ModManager; this.presetManager = initialization.PresetManager; }
public ModsTabViewModel(CCMMInitialization initialization) { EnableAllModsCommand = new Command(EnableAllMods); DisableAllModsCommand = new Command(DisableAllMods); RefreshListCommand = new Command(LoadAllMods); InstallModCommand = new Command(InstallModsFromDialog); UpdateFiltersCommand = new Command(RefreshView); Icons = new ModsTabIcons(); ShowEnabledMods = true; ShowDisabledMods = true; InitModsCollectionSource(); this.initialization = initialization; this.modManager = initialization.ModManager; this.presetManager = initialization.PresetManager; }