public CropSettingsViewModel(ICropService cropService, INavigationService navigationService)
        {
            this.cropService       = cropService;
            this.navigationService = navigationService;

            LoadCommands();
        }
Example #2
0
        public StatisticsViewModel(IUserService userService, INavigationService navigationService, ICropService cropService)
        {
            this.userService       = userService;
            this.navigationService = navigationService;
            this.cropService       = cropService;

            LoadCommands();
        }
        public AdminViewModel(IUserService userService, INavigationService navigationService, ICropService cropService)
        {
            this.userService       = userService;
            this.navigationService = navigationService;
            this.cropService       = cropService;

            Messenger.Default.Register <User>(this, OnUserReceived);

            LoadCommands();
        }
Example #4
0
 public CropSettingsViewModelTest()
 {
     cropService = new MockCropService(new MockCropRepository());
 }
 public CropController(ICropService cropService)
 {
     this.cropService = cropService;
 }
 public CropController(ICropService cropEngine)
 {
     _service = cropEngine;
 }