public RegionControlCrudEventTests()
        {
            _fixture.Behaviors.Remove(new ThrowingRecursionBehavior());
            _fixture.Behaviors.Add(new OmitOnRecursionBehavior());

            _regionListController   = Substitute.For <IRegionListController>();
            _regionControlViewModel = new RegionControlViewModel(_regionListController);
        }
Esempio n. 2
0
        public RegionConfigControlTests()
        {
            _fixture.Behaviors.Remove(new ThrowingRecursionBehavior());
            _fixture.Behaviors.Add(new OmitOnRecursionBehavior());

            _triggerController     = Substitute.For <ITriggerController>();
            _regionListController  = Substitute.For <IRegionListController>();
            _regionConfigViewModel = new RegionConfigViewModel(_regionListController, _triggerController);
        }
Esempio n. 3
0
 public RegionControlViewModel(IRegionListController regionController)
 {
     _regionController = regionController;
 }
Esempio n. 4
0
 public RegionConfigViewModel(IRegionListController regionController, ITriggerController triggerController)
 {
     _regionController  = regionController;
     _triggerController = triggerController;
 }