Exemplo n.º 1
0
 public CameraViewModel(IMyShuttleClient myShuttleClient, IApplicationDataRepository applicationDataRepository, DetailsViewModel details)
 {
     _random = new Random((int)DateTime.Now.Ticks);
     MyShuttleClient = myShuttleClient;
     ApplicationDataRepository = applicationDataRepository;
     Details = details;
     DetectingCompletedCommand = new RelayCommand(DetectingCompleted);
     StartDetectingCommand = new RelayCommand(StartDetecting);
 }
Exemplo n.º 2
0
 public CameraViewModel(IMyShuttleClient myShuttleClient, IApplicationDataRepository applicationDataRepository, DetailsViewModel details)
 {
     _random                   = new Random((int)DateTime.Now.Ticks);
     MyShuttleClient           = myShuttleClient;
     ApplicationDataRepository = applicationDataRepository;
     Details                   = details;
     DetectingCompletedCommand = new RelayCommand(DetectingCompleted);
     StartDetectingCommand     = new RelayCommand(StartDetecting);
 }
Exemplo n.º 3
0
 public MainViewModel(IMyShuttleClient myShuttleClient, DetailsViewModel details)
 {
     MyShuttleClient = myShuttleClient;
     Details         = details;
     RefreshCommand  = new RelayCommand(Refresh, CanRefresh);
 }
Exemplo n.º 4
0
 public MainViewModel(IMyShuttleClient myShuttleClient, DetailsViewModel details)
 {
     MyShuttleClient = myShuttleClient;
     Details = details;
     RefreshCommand = new RelayCommand(Refresh, CanRefresh);
 }