aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/FileSystem/FileSystemOperationMode.cs
blob: e28843bceb6ed7fe52b8738e7da088244876d238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.PPC.Common.FileSystem
{
    public enum FileSystemOperationMode
    {
        Upload,
        Download
    }
}
pan class="p">; using Tango.PPC.Common; using Tango.PPC.Common.Navigation; namespace Tango.PPC.UI.ViewModels { public class LoadingErrorViewVM : PPCViewModel, INavigationObjectReceiver<Exception> { private String _error; public String Error { get { return _error; } set { _error = value; RaisePropertyChangedAuto(); } } public RelayCommand RestartCommand { get; set; } public LoadingErrorViewVM() { RestartCommand = new RelayCommand(Restart); } public override void OnApplicationStarted() { } public void OnNavigatedToWithObject(Exception ex) { Error = ex.Message; } private void Restart() { ApplicationManager.Restart(); } } }