/// <summary>
        /// Default constructor
        /// </summary>
        /// <param name="slotName">The slot name</param>
        /// <param name="items">The progression info items</param>
        /// <param name="saveSlotFilePath">The file path for the save slot</param>
        /// <param name="progressionViewModel">The progression view model containing this slot</param>
        protected ProgressionSlotViewModel(LocalizedString slotName, ProgressionInfoItemViewModel[] items, FileSystemPath saveSlotFilePath, BaseProgressionViewModel progressionViewModel)
        {
            SlotName             = slotName;
            Items                = items;
            SaveSlotFilePath     = saveSlotFilePath;
            ProgressionViewModel = progressionViewModel;

            ExportCommand = new AsyncRelayCommand(ExportAsync);
            ImportCommand = new AsyncRelayCommand(ImportAsync);
        }
Exemple #2
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="slotName">The slot name</param>
 /// <param name="items">The progression info items</param>
 /// <param name="saveSlotFilePath">The file path for the save slot</param>
 /// <param name="progressionViewModel">The progression view model containing this slot</param>
 public RaymanMArenaProgressionSlotViewModel(LocalizedString slotName, ProgressionInfoItemViewModel[] items, FileSystemPath saveSlotFilePath, BaseProgressionViewModel progressionViewModel) : base(slotName, items, saveSlotFilePath, progressionViewModel)
 {
 }