/// <summary> /// Contructor Configuration /// </summary> public ConfigController( INotifyController notify, IConfigRepository configRepository ) { _notify = notify; _configRepository = configRepository; }
/// <summary> /// Contructor form application /// </summary> public MultipleCaptureForm(IAppController controller) { // Init InitializeComponent(); _controller = controller; _controller.SetView(this); //DependĂȘncies _notify = ServiceLocator.Instance.Get <INotifyController>(); }
/// <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; }
public void Notify(INotifyController notify) => _notify = notify;
public NotifyView(INotifyController controller) { _controller = controller; }