/// <summary>
 /// Contructor Configuration
 /// </summary>
 public ConfigController(
     INotifyController notify,
     IConfigRepository configRepository
     )
 {
     _notify           = notify;
     _configRepository = configRepository;
 }
Exemplo n.º 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>();
        }
Exemplo n.º 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;
 }
Exemplo n.º 4
0
 public void Notify(INotifyController notify) => _notify = notify;
Exemplo n.º 5
0
 public NotifyView(INotifyController controller)
 {
     _controller = controller;
 }