/// <summary>
 /// Contructor Configuration
 /// </summary>
 public ConfigController(
     INotifyController notify,
     IConfigRepository configRepository
     )
 {
     _notify           = notify;
     _configRepository = configRepository;
 }
Example #2
0
        /// <summary>
        /// Contructor form application
        /// </summary>
        public MultipleCaptureForm(IAppController controller)
        {
            // Init
            InitializeComponent();
            _controller = controller;
            _controller.SetView(this);

            //DependĂȘncies
            _notify = ServiceLocator.Instance.Get <INotifyController>();
        }
Example #3
0
 /// <summary>
 /// Start principal application
 /// </summary>
 /// <param name="notify"></param>
 /// <param name="config"></param>
 /// <param name="about"></param>
 /// <param name="grid"></param>
 /// <param name="deviceRepository"></param>
 public AppController(
     INotifyController notify,
     IConfigController config,
     IAboutController about,
     IGridController grid,
     IDeviceRepository deviceRepository
     )
 {
     this._notify           = notify;
     this._config           = config;
     this._about            = about;
     this._grid             = grid;
     this._deviceRepository = deviceRepository;
 }
Example #4
0
 public void Notify(INotifyController notify) => _notify = notify;
Example #5
0
 public NotifyView(INotifyController controller)
 {
     _controller = controller;
 }