wabbajack/Wabbajack.App.Wpf/View Models/UserIntervention/ConfirmUpdateOfExistingInstallVM.cs
2022-03-13 16:47:30 -06:00

47 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Wabbajack.Common;
using Wabbajack;
using Wabbajack.DTOs.Interventions;
using Wabbajack.Interventions;
namespace Wabbajack
{
public class ConfirmUpdateOfExistingInstallVM : ViewModel, IUserIntervention
{
public ConfirmUpdateOfExistingInstall Source { get; }
public MO2InstallerVM Installer { get; }
public bool Handled => ((IUserIntervention)Source).Handled;
public CancellationToken Token { get; }
public void SetException(Exception exception)
{
throw new NotImplementedException();
}
public int CpuID => 0;
public DateTime Timestamp => DateTime.Now;
public string ShortDescription => "Short Desc";
public string ExtendedDescription => "Extended Desc";
public ConfirmUpdateOfExistingInstallVM(MO2InstallerVM installer, ConfirmUpdateOfExistingInstall confirm)
{
Source = confirm;
Installer = installer;
}
public void Cancel()
{
((IUserIntervention)Source).Cancel();
}
}
}